GOOGLE ANALYTICS INTEGRATION

Genius Referrals provides an easy way to integrate your referral program with Google Analytics.
If you are in this section, we assume that you have already configured and tested your referral program or implemented your referral program in your environment, and you want to connect your program to Google Analytics.

Who should read this tutorial?

This tutorial is for clients who want to connect Genius Referrals with Google Analytics. Using Google Analytics, you will be able to track visitors to your referral program.

How to integrate your account with Google Analytics

By connecting Genius Referrals with Google Analytics, you will obtain data and statistics of your referral program.

You will first need to sign up for a Google Analytics account if you haven't already.
1. Begin by clicking the Create Property button in the sidebar.
2. You will need to provide the URL of your Genius Referrals program during setup. Find this URL in the Domains and URLs section.
Add New Property
Once the property is created you will be able to obtain the tracking code.
Get tracking code.

Code snippet

This is the global site tag tracking code (gtag.js) for this property. If you already have a global site tag on your page, add the configuration line from the snippet below to your existing global site tag. Remember to replace GA_XXXX_ID with the ID of the Google Analytics property:

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=GA_XXXX_ID"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'GA_XXXX_ID');
</script>


Install the code snippet in Genius Referrals

Go to the administration of your referral program at Genius Referrals. Once there in the Website Builder section, from the list of templates, select the one you want to track. In the actions of the chosen template, click Settings-Additional settings.
Website Builder
Then you will need to copy the code shown above and paste it into Additional Scripts and CSS. Once you have successfully installed it, click the Save button to begin.
Additional css and scripts

Final result

Example of statistics that you will have available in Google Analytics:
That's all
GOOD LUCK!
LANGUAGE