Changing Google Tag Manager in Google Analytics: A Step-by-Step Guide
Introduction
Google Tag Manager (GTM) is a powerful tool used to manage and track website interactions. It allows you to add, edit, and manage tags, including Google Analytics, without having to write code. However, if you’re not satisfied with the default settings or want to customize your tracking, you may need to change Google Tag Manager in Google Analytics. In this article, we’ll guide you through the process of changing Google Tag Manager in Google Analytics.
Why Change Google Tag Manager in Google Analytics?
Before we dive into the process, let’s discuss why you might want to change Google Tag Manager in Google Analytics. Some reasons include:
- Customization: You may want to customize your tracking settings to suit your specific needs.
- Integration with other tools: You may want to integrate Google Tag Manager with other tools, such as Google Ads or Facebook Pixel.
- Security: You may want to change the default settings to improve security.
Step 1: Enable Google Tag Manager in Google Analytics
To change Google Tag Manager in Google Analytics, you need to enable it first. Here’s how:
- Log in to your Google Analytics account.
- Click on Admin in the top navigation menu.
- Click on Settings.
- Scroll down to the Tracking section.
- Click on Google Tag Manager.
- Click on Enable.
Step 2: Create a New Tag
Once Google Tag Manager is enabled, you can create a new tag. Here’s how:
- Click on Tags in the left-hand menu.
- Click on New Tag.
- Fill in the tag name and description.
- Choose the Type of tag (e.g., Google Analytics).
- Click on Save.
Step 3: Configure the Tag
To configure the tag, you need to add the following settings:
- Property ID: This is the ID of the property you want to track.
- Property Name: This is the name of the property.
- Tag Name: This is the name of the tag.
- Tag Type: This is the type of tag (e.g., Google Analytics).
- Event: This is the event you want to track (e.g., Page Load).
Here’s an example of what the tag configuration might look like:
| Setting | Value |
|---|---|
| Property ID | UA-XXXXX-X |
| Property Name | Your Property Name |
| Tag Name | Google Analytics |
| Tag Type | Google Analytics |
| Event | Page Load |
Step 4: Add the Tag to Google Tag Manager
To add the tag to Google Tag Manager, you need to create a new container. Here’s how:
- Click on Containers in the left-hand menu.
- Click on New Container.
- Fill in the container name and description.
- Click on Save.
Step 5: Add the Tag to Google Tag Manager
To add the tag to Google Tag Manager, you need to create a new tag. Here’s how:
- Click on Tags in the left-hand menu.
- Click on New Tag.
- Fill in the tag name and description.
- Choose the Type of tag (e.g., Google Analytics).
- Click on Save.
Step 6: Configure the Tag in Google Tag Manager
To configure the tag in Google Tag Manager, you need to add the following settings:
- Event: This is the event you want to track (e.g., Page Load).
- Property: This is the property you want to track (e.g., Your Property Name).
- Tag: This is the tag you created in Google Analytics.
Here’s an example of what the tag configuration might look like:
| Setting | Value |
|---|---|
| Event | Page Load |
| Property | Your Property Name |
| Tag | Google Analytics |
Step 7: Save the Changes
To save the changes, click on Save in the top-right corner of the page.
Troubleshooting Tips
- Error Messages: If you encounter error messages, check the Google Tag Manager documentation for troubleshooting tips.
- Tag Not Showing: If the tag is not showing up, check the Google Analytics settings and make sure the tag is enabled.
- Tag Not Tracking: If the tag is not tracking, check the Google Tag Manager settings and make sure the tag is configured correctly.
Conclusion
Changing Google Tag Manager in Google Analytics is a straightforward process that requires some basic knowledge of Google Tag Manager and Google Analytics. By following these steps, you can customize your tracking settings and improve the security of your website. Remember to save the changes regularly to ensure that your tracking settings are up-to-date.
