Blog / Google Tag Manager Tutorials / What is Tag Manager and how to set it up?
What is Tag Manager and how to set it up?
What is Google Tag Manager and How to Set It Up?
Google Tag Manager (GTM) is a free tool that allows you to manage and deploy marketing tags (snippets of code or tags) on your website or mobile app without the need to modify the code directly. These tags can include Google Analytics, conversion pixels, remarketing tags, and more.
Advantages of Using Google Tag Manager:
- Ease of Use: You don’t need advanced programming knowledge to manage tags.
- Flexibility: It allows you to add and update tags from a web interface without touching the site’s code.
- Quick Implementation: It improves the speed of campaign deployment and site load times.
- Organization: It centralizes the management of all tags in one place.
Steps to Set Up Google Tag Manager:
1. Create an Account and a Container:
- Visit: Google Tag Manager
- Create Account: Enter your account details and the container (website or app name).
- Configure Container: Select the environment (Web, iOS, Android).
2. Install the Container on Your Website:
- Container Code: GTM will provide two code snippets.
- Header Code: Place the first snippet immediately after the opening
tag on all pages.
- Body Code: Place the second snippet immediately after the opening
tag on all pages.
3. Add Tags in Google Tag Manager:
- Access the Container: Enter the container you created.
- Create a New Tag: Click “Add a new tag” and configure the following elements:
- Tag Configuration: Select the type of tag (e.g., Google Analytics, Facebook Pixel).
- Trigger Configuration: Define when and where the tag should be activated (e.g., on all pages, on a specific page, during a specific event).
4. Publish the Container:
- Save and Test: Save your settings and use the preview mode to test if the tags are working correctly.
- Publish: Once tested, click “Submit” to publish the changes.