After you add the code to your website, you can use Google Tag Manager to set up and manage tags without needing to update your code any further. Tag Manager supports tags for Google products and third-party tags.
Before you begin
- You must create a Tag Manager account and container.
- You must install the Tag Manager container for your website.
Steps
- Go to Google Tag Manager.
- Sign in to your Google Account. Learn how to Create a Google Account.
- Open the Tag Manager container you want to edit. Find your way around Tag Manager.
- In the "Workspace" tab, select Tags (on the left).
- In the "Tags section", click New (top right).
- In the panel, follow these steps:
- Replace "Untitled Tag" with the name of your tag (for example, "Google tag").
- In the "Tag Configuration" section:
- In "Choose tag type", select the destination tag for the Google destination you want to connect your container to. Learn more about destination tags and adding destination tags to your container.
- In "Tag ID", enter your Tag ID. Learn how to Set up your Google tag across your Google accounts.
- In the "Triggering" section, select Initialization - All Pages trigger. Learn more about Trigger types.
- Select Save.
Next steps
Make sure the tags you've added to your website behave as intended. Then, publish the changes you've made to your website.