In this article, you will find instructions for integrating with Google Analytics. Google Analytics is a popular web analytics service that tracks and reports website traffic.
This guide is here to help you get started integrating Thought Industries with your Google Analytics account.
Use Case Information
Google Analytics gives you the free tools you need to analyze data for your business in one place, so you can make smarter decisions. By connecting your Google Analytics to Thought Industries you can see a large range of data, helping you to understand the customer journey and improve your marketing Return-On-Investment (ROI).
When configured you can control the following:
- Access Google's unique insights and machine learning capabilities to make the most of your data
- Deliver business results using your insights
- Understand your site users to better check the performance of your site and content
Retrieving your Google Analytics Key
To setup Google Analytics, you must first retrieve your Google Analytics Key. Follow these instructions to find your Tracking ID.
- Sign in to Google Analytics.
- Click Admin.
- The Admin page in Google Analytics gives you access to the Analytics administrative features. At the bottom left of the page, hover over the gear icon and click Admin to open this page.
- Select an account from the menu in the ACCOUNT column.
- Select a property from the menu in the PROPERTY column
- Under PROPERTY, click Tracking Info > Tracking Code.
Tip
The Google Analytics key or Tracking ID is displayed at the top of the page. The key should start with UA and is usually followed by a series of numbers and dashes. An example should look like UA-00000000-2.
Warning
You do not need the Google tag and you should not enter your own Google Analytics scripts in the Tracking Scripts management interface. The Thought Industries platform takes care of that automatically for you.
Adding the Google Analytics Key in Thought Industries
Note
There are two options to integrate a specific UA/GA4 key:
- Native integration by entering your GA Key in the Third-Party Services section OR
- Add provided block of code to Tracking Scripts
It's best practice to choose only one option when integrating. Entering the same key in both places will result in duplicate data being pushed to GA.
Connecting to GA via the native integration:
- From your homepage, select Settings.
- From the left menu, select Integrations > Third-Party Services.
- Locate the Google Analytics Key field and enter your Tracking ID.
- Click Save.
Note
Once this key is entered, we will automatically send all page views to Google Analytics. We will also send ecommerce information to Google Analytics via their eCommerce Tracking functionality, if applicable.
Note
If you're peeking under the hood and see another Google Analytics ID (UA-48457520-3) that is Thought Industries' internal tracking. It will not interfere with your own tracking.
Google Tag Manager
In addition to Google Analytics, Thought Industries also supports Google Tag Manager. Google Tag Manager allows you to manage tags and tracking scripts without editing code. Google Tag Manager delivers simple, reliable, easily integrated tag management.
To implement Google Tag Manager on your website, copy the following JavaScript and paste it in the Tracking Scripts area of the management interface, under Header Scripts. Replace GTM-XXXX with your container ID. To navigate to this area in the management interface, go to Settings > Integrations > Tracking Scripts.
<!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push
({'gtm.start': new Date().getTime(),event:'gtm.js'});
var f=d.getElementsByTagName(s)[0], j=d.createElement(s),
dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.
src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })
(window,document,'script','dataLayer','GTM-XXXX');</script> <!-- End Google Tag Manager -->