Integrating Google Analytics With Infusionsoft

KB1028756

If you've installed our AnalyticsConnect.io software that automatically posts sales data from Infusionsoft into Google Analytics Ecommerce, you may have noticed that you're not seeing page hits from your Infusionsoft shopping cart, order forms, web forms, and hosted thank you pages. This knowledgebase article will walk you through installing Google Analytics on Infusionsoft hosted pages.

First, be sure you've made the necessary changes to your Google Analytics tracking code to allow for cross-domain tracking.

Next install the Google Analytics tracking code to your Infusionsoft Shopping cart. From the Infusionsoft main navigation, go to "Ecommerce" and click on "Ecommerce Setup". Find the "Design" section and click on "Shopping Cart Themes". Then click on "Edit" for your active theme. Click on the "HTML Areas" tab and go to the "Custom Footer" section. Paste your Google Analytics code into this box, after any other code that may be there already.

If you're using order forms, you'll need to repeat the above process for your order form template. From the Infusionsoft main navigation, go to "Ecommerce" and click on "Ecommerce Setup". Find the "Design" section and click on "Order Form Themes". Then click on "Edit" for your active theme. Click on the "HTML Areas" tab and go to the "Custom Footer" section. Paste your Google Analytics code into this box, after any other code that may be there already.

If you are using an Infusionsoft web form, do you have that code hosted on your website, or at Infusionsoft? If the form is hosted on your website, then you should already have Google Analytics code on that page, and you're already good to go. If however that web form is hosted at Infusionsoft, you'll need to add Google Analytics code to that Infusionsoft page. Just pull up the form in the same way a user would and look at the URL. If the URL has an "infusionsoft.com" domain, it's hosted at Infusionsoft. Also note that each web form has a thank-you page, and if that thank-you page is hosted at Infusionsoft, you'll need to add Google Analytics code to that thank-you page also. For web forms and web form thank-you pages, this is done via the "HTML" "Snippet" which will let you paste the Google Analytics code into the "Snippet".

Finally, you'll need to consider if you have any Infusionsoft hosted landing pages, or thank you pages. As an example, when someone clicks to confirm their email address, they are sent to an Infusionsoft hosted thank you page. In a case like that, you not only want to be sure you've got Google Analytics tracking code on that page, but you'll probably also want to setup a goal inside Google Analytics for when that happens. While most of these pages won't have a footer you can edit, they do contain an editable HTML area, and pasting your Google Analytics code into that box, after any other existing code, will get the job done.

Unfortunately, Infusionsoft has yet to make this easy. It would be nice if they gave you one place inside of the config to paste your Google Analytics code once, and then automatically inserted this code into every user facing webpage, but they haven't. If you don't know exactly what hosted Infusionsoft pages you're using, you'll need to click through your sales and marketing process, copying down all the URLs and comparing that list to the page hits inside of Google Analytics. From inside Google Analytics, under the main "Reporting " tab, go to the "Behavior" section in the left sidebar. Then click on "Site Content" and then "All Pages". Over to the right, towards the middle of the page, under the main graph, you'll find a search box. You can use this search box to verify Google Analytics tracking is functional on specific pages. Remember that pages have to be recently visited to show up in this search and that Google Analytics can take up to 24 hours to show new data.

Related Resources

Cross-Domain Tracking

Article Feedback

If this article is incorrect or outdated, or omits critical information, please use our contact us form and let us know.