Google Analytics User ID Setup for Keap/Infusionsoft

If you're using our software that automatically posts sales data from Keap/Infusionsoft into Google Analytics Ecommerce, you may be wondering how to send the Keap/Infusionsoft Contact ID into Google Analytics as a User ID. This knowledgebase article will explain the functionality added by doing this and walk you through the installation process.

Functionality Added

We live in a world where many of the visitors to our website have multiple devices, such as a smart-phone, tablet, office computer, and home computer. This creates a tracking nightmare. What if a user clicks on one of our Google Ads from their tablet and signs up for our newsletter, but then places an order a week later from their office computer? If we don't have a way to link those sessions together, we don't know that Google Ads was responsible for finding that customer, and thus our return on ad investment calculations are wrong.

Google's answer for this inside Google Analytics is to receive the optional parameter user_id, which is User ID. When separate devices and/or sessions have the same unique user_id, Google Analytics knows to link them together as the same user. For those of us running Keap/Infusionsoft, we already have a unique identifier for each contact, called Contact ID.

Setup sends the Keap/Infusionsoft contactId as user_id for all events with contactId data. The remainder of the work is code that will need to be written for your unique situation and deployed to your website.

We are in the process of updating all our documentation for GA4. Feel free to contact us if you need any help or clarification on anything.

Instructions coming soon...

Known Limitations

If you merge two duplicate contacts inside Keap/Infusionsoft, you're merging Contact IDs, and there is no way to merge User IDs with Google Analytics. You'll drop data for whatever Contact ID got dropped. Do everything you can to prevent duplicate contacts from being created inside Keap/Infusionsoft.

Related Resources

Integrating Google Analytics With Keap/Infusionsoft

Google Analytics Cross-Domain Tracking For Keap/Infusionsoft

Subscriptions and Multiple Payments

Article Feedback

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