Installing GrowthHero Pixel script
To start tracking your referral links and engagements, you need to install the GrowthHero pixel script onto your website. You need a GrowthHero account to install the script. Alternatively, you can use Google Tag Manager to add a tracking pixel to your website.
This is only for Main Platform accounts. If your account is Shopify / BigCommerce, this setup is not available.
To install the Pixel script, paste the following snippet on all your pages inside the <head> </head> section.
Now all your referral links and engagements will be tracked automatically!
Installing GrowthHero script on different platforms
If you're a user of any of the following platforms, we've gathered some tutorials on how to install custom code inside your pages in there.
Following options are available with the pixel script you can make use of.
By default, the script records an engagement event after 15 seconds or registering a referral link click (if user visited using a referral link). You can override it and record the engagement event before the 15 seconds by calling this method.
Use this event to record an add to cart event. This event when combined with the automated sale tracking integration, will link the referred partner with the sale. The cartToken will be used to identify and link the sales with the clicks and engagements activity, thereby linking the appropriate partner with the sale.
<script> GrowthHero.recordAddToCart('cartToken') </script>