Google Analytics Quick-Start Guide
Start sending Confection data to Google Analytics with a few simple steps.
Click “My Account” (or “Set Up My Account” if you’re accessing your account for the first time). Enter your contact information, the domain(s) on which you want to use Confection, and select one of our two data storage options. Then, click “Save Changes.”
Click "Install Confection" (If you're accessing your account for the first time, this will be the default screen.) Select your preferred langauge, CMS, platform, or framework to download the relevant scripts.
At this point, use the relevant language, framework, CMS, or platform quick start guide to get Confection up and running on your site or app. Then, continue with step four.
We suggest you create a unique Google Analytics property for Confection. This will prevent duplicate data from entering your existing property and will allow you to compare Google Analytics native data with Confection data.
At the moment, Confection's Google Analytics integration is currently only available for Google Universal Analytics. (That's
UA-********-** tags.) We'll have a Google Analytics 4 integration ready soon. If you'd like us to alert you when this is ready, submit your email here, open a chat using the button in the lower right corner, and/or leave a comment here.
To create a unique Google Analytics property for Confection, follow the "Create a property" section of these instructions and/or the video below. To differentiate it from your other properties, give this property a name like "Confection Enabled." And make sure you copy the new property tracking ID. It will look like this:
Next, click "Integrations" in your Confection account. Then, click "New Integration," and select Google Analytics.
Enter your new, Confection-enabled property ID in the lower field (
UA-12345678-90 in the image). Then, click "Create".
On the next screen, click "Activate Integration", and your site or app will begin sending data to Google Analytics immediately.
You can manage your integrations by returning to the integrations screen. Just click "Integrations" in the admin menu. Then, click any integration in the list to pause or update it.
If neither of the special scenarios that follow apply to you, that's it. You're done.
"I entered more than one (sub)domain in step two. Each has its own Google Analytics property."
If you've added two or more (sub)domains to your Confection account -- test.com and sub.anotherdomain.com, for example -- and each has its own Google Analytics property, you'll want to do one last thing. Otherwise, the Confection Google Analytics integration will write all your data to all your properties (ie., you'll see test.com data in sub.anotherdomain.com's Google Analytics property and vice versa).
First, access the administrative panel for each Confection-enabled Google Analytics property. Click the cog in the lower left corner, and then select "Filters" in the "View" column.
Next, click "Add Filter" and create the filter using the following templates. Be sure to click "Save" when you're done.
"I want to limit reporting to a top-level domain."
"I want to limit reporting to a particular subdomain."
Go back to the main admin screen. In the center "Property" column, click "Tracking Info" > "Referral Exclusion List." Click "Add Referral Exclusion," and enter your subdomain (eg., sub.anotherdomain.com). Then, click "Create." (If you don't do this, your subdomain will appear in your reports self-referring traffic when users move between your subdomain and your root domain.)
That's it. You're done.
Questions or comments about using Confection with Google Analytics? Leave them below.
You can also use the chat app in the lower right corner.