Add the tracking code to CustomerHub

  1. Login to CustomerHub
  2. Go to Admin > Themes
  3. Click the edit icon ✏️ for your current theme
  4. 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

  1. Login to Infusionsoft by Keap
  2. Go to Marketing > Lead Generation
  3. Click Get Tracking Code for Your Websites link
  4. Copy the code and save for later

Code example: 

<script type="text/javascript" src="https://[APPNAME].infusionsoft.app/app/webTracking/getTrackingCode"></script>
Did this answer your question?