Google Tag Manager Referral Program Integration
Install Referral.js on every page through Google Tag Manager, with no code changes to your site. Referral visits are tracked from the first page view.
About our Google Tag Manager referral integration
Referral Rock is referral program software for businesses with teams. Referral Rock integrates with Google Tag Manager as a way to install Referral.js on every page of your site without touching your site's code.
Google Tag Manager
- • A Google Tag Manager container on your site
- • Your Referral.js script from Referral Rock
How Google Tag Manager connects to Referral Rock
-
You add Referral.js through GTM
Your Referral.js script goes out to every page through your Google Tag Manager container.
-
Referral visits are tracked
Once installed, Referral.js tracks referral visits automatically.
-
You add conversion tracking
A conversion script on your confirmation page, or after a form submit, records each referred sign-up.
-
Referral Rock credits the customer
Each referred conversion is credited to the customer who sent the friend.
- How the integration connects
- Referral.js, deployed to every page through your Google Tag Manager container.
- What you get right away
- Referral visit tracking, as soon as Referral.js loads.
- What needs another script
- Creating and updating referrals: a conversion script on your confirmation page or after a form submit, or a form or store integration.
- What the integration doesn't do
- Installing Referral.js alone doesn't record a friend as a referral.
When teams use Google Tag Manager with a referral program
Marketing teams
Install without waiting on developers
If you already manage scripts in Google Tag Manager, Referral.js goes live on every page from GTM, no site release needed.
Sites on any platform
One install across every page
Google Tag Manager is one of the ways the Referral.js install guide lists for getting the script into every page's head.
Single-page apps
Record conversions after a form submit
The conversion script can run any time after the page loads, so a sign-up that never reloads the page still counts.
Setting up Referral Rock with Google Tag Manager
- 1
Copy your Referral.js script
YouIn Referral Rock, open Integrations and copy your unique Referral.js script.
- 2
Add the script through Google Tag Manager
YouDeploy Referral.js to every page through your GTM container, following the video in the help doc.
- 3
Add conversion tracking
YouAdd the Referral.js conversion script where friends convert, on a confirmation page or after a form submit, or connect a form or store integration.
Full steps: the Google Tag Manager setup guide.
See a referral flow built based on your business
Give us your website. Our team builds you a referral flow from it, styled to your brand.
Yours to keep. No sales call.
How it works
- 1 We build a referral flow from your website, styled to your brand
- 2 We send you a link to preview it
- 3 See the experience you'd send your customers
Google Tag Manager referral integration FAQs
Google Tag Manager is a way to install Referral.js, Referral Rock's website script, on every page of your site. Once Referral.js loads, referral visits are tracked.
Install Referral.js through Google Tag Manager, then add conversion tracking where friends sign up. Set your reward, and each referred conversion is credited to the customer who sent the friend.
Referral Rock is referral program software for businesses with teams. An advisor sets up your program with you on every plan, with no setup fee.
No. Referral.js tracks referral visits on its own, but recording the friend as a referral takes a conversion script or a form or store integration.
Yes. The conversion script can be set any time after the page loads, so a form that doesn't reload the page can still record the conversion.
Add ?rrverify=1 to the end of any page address on your site. If Referral.js loaded, a confirmation box appears.
“Their integrations, their obsession to be on the leading edge of their niche, the overall customizability... All in all, I saved thousands by not needing to build an app or sign up for a long-term contract.”
Need help setting up?
Every Referral Rock plan includes onboarding help. Our team will help you configure the Google Tag Manager integration and make sure everything is working perfectly. View the setup guide
Other popular integrations
More of the tools that connect to Referral Rock.
Ready to connect Google Tag Manager?
Start your free trial and set up the integration. No credit card required.
Not ready to talk? See a free referral flow →