If you're ready to use our AnalyticsConnect.io software that automatically posts sales data from Infusionsoft into Google Analytics Ecommerce, and you have some kind of advanced/non-normal configuration that dosen't play nice with the standard Google cookie, this article will explain how to use our Cookie System to get correct data.
Some examples of when you'll want to do this are:
First, go to your AnalyticsConnect.io Settings and under the heading "AnalyticsConnect.io Cookie Settings" you'll "Enable Cookie Vault" and click the "Update Cookie Settings" button.
For WordPress Websites: Login to WordPress and under your main WordPress settings, click on "AnalyticsConnect.io". Under the heading "Cookie System (Optional)" click the check box next to "Enable Cookie System". Then under "Cookie Root Domain" enter your naked domain and click "Save Settings". As an example, if your website is at "www.example.com", or "example.com", or "somesubdomain.example.com" you'd use "example.com" for your "Cookie Root Domain" so that our cookie is accessible to your entire domain. Then you'll place the WordPress shortcode of
[analyticsconnect-io-lead] on your lead thank you page (details about this are in the next section).
For Generic PHP Websites: Start with a basic install of our PHP software. Once that's done, we need to modify a few things. First, you'll turn on the cookie system by placing the following line of code at the top of every single page of your website:
<?php require '/analyticsconnect-io/cookiesystem.php'; ?>
Next, find the
/analyticsconnect-io/config.php file. Inside that file, you will find the following line of code:
Change the highlighted "example.com" to your root domain, and save. As an example, if your website is at "www.example.com", or "example.com", or "somesubdomain.example.com" you'd use "example.com" for your "Cookie Root Domain" so that our cookie is accessible to your entire domain.
Then you'll add this
<?php require '/analyticsconnect-io/leadpush.php'; ?> to your lead thank you page (details about this are in the next section).
You now have the AnalyticsConnect.io Cookie Vault setup and ready. The last thing you need to do is actually capture the lead data so our system has something to work with when an offline transaction happens.
This next part is as much art as it is science... The trick is that we need to create a contact record inside Infusionsoft. Here's an example of how this may happen:
Maybe your website uses a "Free Phone Consultation" to create the contact record inside Infusionsoft. Maybe it's a newsletter signup. Maybe it's something else. This is the "art" part: You need to offer some kind of value that they'd be insane to NOT give you their first name and email address to cash in on that offer. Maybe you use multiple methods together, like a newsletter signup and a free phone consultation... different types of bait catch different types of fish. Do whatever it takes to create that contact record inside Infusionsoft.
Whatever combination of Infusionsoft forms you use to do this, keep a few things in mind... Each form should use a thank-you page hosted on your website (NOT at Infusionsoft). Please do NOT confuse "lead thank-you pages" with "sale thank-you pages" which need to remain completely separate. On the settings of the form, be sure you're sending the
orderid variable to the thank-you page. Depending on if you're using a web form or an older legacy form, you'll see slightly different settings inside of Infusionsoft for this. Just look for the option that most closely resembles "send information to the thank-you page" and contact Infusionsoft tech support if you need further help with this.
Optionally, to get the most accurate and complete traffic source data, you'll want to stitch together multiple user sessions and/or multiple user devices by enabling User ID functionality.
You can see real-time and historical data for your leads from inside your Google Analytics account under "Events". Here's an example of the data sent into Google Analytics for a lead:
Event Category: AnalyticsConnect.io Event Action: Lead Event Label: ContactID 12345
If this article is incorrect or outdated, or omits critical information, please use our contact us form and let us know.