Before you get started
- Make sure you have a Google Tag Manager account
- Ensure you have access to the Messaging menu and Campaigns menu
How to set up Google Analytics in Google Tag Manager
- Log in to your Google Tag Manager account
- Navigate to your container
- Click on "Tags" and then "New"
- Choose "Tag Configuration" and select "Google Analytics: Universal Analytics" or "Google Analytics: GA4" depending on your setup.
- Select the Google Analytics: GA4 Configuration tag type and under Measurement ID click the button that looks like a lego brick with a ‘+’ sign in it
- Configure the tag with your Google Analytics tracking ID.
- Choose the Google Analytics Settings variable type and add your Google Analytics tracking code into the Tracking ID field. Then click Save.
- Set the "Track Type" to "Page View" if you want to track page views or choose "Event" if you want to track specific actions as conversions.
Example of a GA4 tracking ID variable configuration
- You should be back at the Tag Configuration window. At the bottom of this window you will find the Tag Triggering section. Click anywhere in this section to set up a trigger
- Select the All Pages trigger and click Save
How to find Google Analytics for tracking Google Tag
Access Google Analytics: Log in to your Google Analytics account. If you don't have one, you'll need to create it.
Navigate to Admin Settings: Once logged in, you'll usually find an "Admin" tab at the bottom-left corner. Click on it.
Select the Appropriate Account: Under the "Account" column, select the account to which you want to add the tracking.
Choose Property: Under the "Property" column, choose the property for which you want to set up tracking. If you don't have a property yet, you'll need to create one.
Tracking Info: Look for the "Tracking Info" section. Here, you'll find different tracking options. Click on "Tracking Code" or a similar option.
Retrieve Tracking ID: You'll see a tracking ID or a tracking code HTML snippet. This is what you'll need to implement in your website's code. Copy the tracking ID or snippet.
Implement Tracking Code: Now, go to your website's code. If you're using Google Tag Manager, you'll add this code snippet there. If not, you'll typically add it just before the closing </head> tag on every page of your website.
Verify Implementation: Once you've implemented the tracking code, go back to Google Analytics, and in the "Admin" section, under "Property," click on "Tracking Info" again. Here, you can verify if the tracking is receiving data.
View conversion reports
Once GA has collected some conversion events for you, you can generate conversion reports.
Navigate to Reports > Life cycle > Engagement > Conversions to view the conversion event overview report.
Define Triggers:
Triggers determine when tags should fire. Create triggers for specific actions you want to track, like button clicks, form submissions, or page visits.
- Click on "Triggers" and then "New."
- Choose the appropriate trigger type based on the action you want to track.
- Configure the trigger conditions.
- Save your trigger.
Associate Tags with Triggers:
- Go back to your tag configuration.
- Click on "Triggering" and select the trigger(s) you created in the previous step.
- Save your tag.
Test and Publish:
- Use the GTM Preview mode to test your setup.
- Once you're satisfied with your setup, publish your container changes.
View Google Analytics Data:
- Log in to your Google Analytics account.
- Navigate to the reporting section where you want to view your data, such as Real-Time, Audience, Acquisition, Behavior, or Conversions.
- You'll see data related to the events or page views you've set up to track through GTM.
Measuring Google Conversion Events
- Open your Google Ads account and go to "Tools and settings" - "Conversions".
- Create a new conversion and select the desired type (e.g. website to record actions on your website).
- Select the category and define a name for your conversion.
- With a click on "Create and continue" you get to the tag setup.
- Select "Use Google Tag Manager" here and copy the conversion ID and label.
- Switch to the Google Tag Manager and create a tag of type "Google Ads Conversion Tracking". Enter the conversion ID and label for the Google Ads conversion you created. Entering a conversion value, order number, or currency code is optional.
- Create a suitable trigger or select an existing one to determine when the conversion should be triggered.
Still need help?
Contact us at support@audiencerepublic.com
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article