Add the tracking code to CustomerHub
- Login to CustomerHub
- Go to Admin > Themes
- Click the edit icon ✏️ for your current theme
- Click the JavaScript tab then copy and paste the following code
var s = document.createElement( 'script' );
s.setAttribute( 'src', "https://[APPNAME].infusionsoft.app/app/webTracking/getTrackingCode" );
document.body.appendChild( s );
NOTE: Replace the [APPNAME] with your Infusionsoft app name (eg. xz123). Using this code will properly place the tracking where is needs to be on your CustomerHub website. Using the code snippet provided by Infusionsoft will not work.
Refer to Infusionsoft help to learn about how this code tracks website visitors and updates a contacts web profile.
(Optional) Get the Tracking Code from Infusionsoft
- Login to Infusionsoft by Keap
- Go to Marketing > Lead Generation
- Click Get Tracking Code for Your Websites link
- Copy the code and save for later
Code example:
<script type="text/javascript" src="https://[APPNAME].infusionsoft.app/app/webTracking/getTrackingCode"></script>