Embed The Infusionsoft Tracking Code Into Your Website

Tags: Visitor

Infusionsoft automatically tracks online activity for Infusionsoft hosted pages: landing pages, web forms, order forms, storefront and shopping cart and thank-you pages. However, this only gives you a partial picture of online marketing interactions. If you would like to extend this tracking to other website assets, you will need to add the Infusionsoft tracking code to produce a well-rounded picture of visitor activity

  1. Go to Marketing > Lead Generation

  2. Click on Get Tracking Code for Your Websites

  3. Highlight the analytics code, and then right click on it to copy it to your clipboard

  4. Paste the code before the close body HTML tag, if you edit your website through Dreamweaver or another code editor. If you are using Google analytics, you can paste the Infusionsoft tracking code below it. Put this code on each individual web page or add it to the footer code that is called into every page of your website.

Example Code

/*This is the Google analytics code*/
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-######-#");
} catch(err) {}
</script>/*This is an example of the Infusionsoft tracking code*/
<script type="text/javascript" src="https://YOURAPPNAME.infusionsoft.com/app/webTracking/getTrackingCode"></script>

Did this article answer your question?
Thank you for your feedback!
Note! For questions about how to use this feature, please contact our Support Team. To provide feeback on the accuracy of this article, use the form below.
User Icon

Thank you for your feedback!