Quick summary
Google Tag Manager lets you create and manage a GTM account, set up containers, and deploy tracking code snippets on your website without editing code manually. This walkthrough covers every step from account creation to copying and pasting the GTM snippet into your site's HTML.
Steps
- Go to the Accounts tab and click on Create Account.
- Add your Account Name — for example, your company name.
- Add a Container name — for example, your website's domain.
- Hit Create to generate the new container.
- Accept the Terms of Service by checking the agreement box.
- Hit Yes to view the code snippet.
- Click to copy the head code snippet.
- Click to copy the body code snippet.
- Paste both code snippets — the first before the <head> tag and the second after the opening <body> tag in your web page's HTML.
- Use the provided field to re-access the code snippet if you need to view it again.
- Enter your website URL in the test field to verify your GTM code is installed correctly.
