Google Tag Manager Referral Widget Integration


Launching Google Tag Manager referral widget is very simple with If you are not signed up with InviteReferrals already, you’ll need to do so. Please sign up and create a referral campaign first. Sign up for free now !!

Follow these steps to add InviteReferrals integration code to your google tag manager:

1. Go to google tag manager’s dashboard

Sign in to Google Tag Manager’s dashboard and select the container for the specific website.

2. Create new tag

Google Tag Manager referral integration

3. Select Tag type

Select “Custom Html Tag” as the tag type

Google tag manager referral integration

4. Copy-paste InviteReferrals integration code into the HTML textarea

Get your InviteReferrals integration code from the documentation section -> Javascript code. First login to the site and then copy   the code so that the secret keys are already prefilled.

InviteReferrals Integration code

5.  Define fire rule and save it

Click on “Add rule to fire tag”. Select “All pages” and save it.

Google tag manager referral integration

Now save all the changes.

6.  Create version and publish it.

Google tag manager referral integration

google tag manager referral integration

Thats it! Your Google Tag Manager referral widget is ready. You can customize anything from the admin panel. No code changes are needed on your site.

Aman Gupta

Co-founder, The product guy at inviteReferrals. Ensures that the best industry practices are built right into your customer referral program.