Google Tag Manager is a box where you gather Google’s tools and other providers’ (Analytics, advertising, campaign pixels) and switch them on from its website, without touching yours each time. On edeck.me you only paste its two codes, once. You need a Google account.
If you only want to measure visits, it is simpler to follow Google Analytics: create the property and copy the ID. And do not use both for the same thing: if Analytics already measures from its ID on your site and you also launch it from Tag Manager, each visit would be counted twice.
1. Create the account and the container in Google
- Go to tagmanager.google.com with your Google account.
- In the Accounts tab (top left), click Create Account (top right). Type the account name (your business) and choose the country. The checkbox to share data with Google is optional.
- Under Container setup, type the name: your site’s address, the one shown in SEO › Google under “Sitemap address”, without the
/sitemap.xml(for examplemy-shop.edeck.me). - Choose the Web type, click Create and accept the Terms of Service.
If you already have an account and only this site’s container is missing: in Accounts, click the plus icon next to the account name and choose Create Container.
2. Copy the two codes
- Tag Manager shows you a dialog called Install Google Tag Manager with two code snippets. If it does not open, go into the container, Workspace tab, and click its ID (it starts with
GTM-, at the top). - The first snippet is a
<script>block and the second a<noscript>block. Google says where to paste them in each page’s code; on edeck.me you do not have to: your site places them on every page, where Google asks for them.
3. Paste them on your site
- In the panel, go to SEO › Google.
- Open Advanced: Google Tag Manager, paste the first snippet into Tag Manager: first code and the second into Tag Manager: second code.
- Click Update at the bottom of the page.
4. Publish the container
A container does nothing until you publish it. Once you have created the tags you want in Tag Manager:
- Click Submit (top right).
- Leave Publish and Create Version selected, type a Version Name (for example “First version”) and click Publish.
How it loads on your site
Tag Manager can load anything, so your site treats it as “Other (Google Tag Manager)” cookies: the visitor chooses it in the cookie notice, which appears on its own, and the code only loads for visitors who accept that box. The Test button in Google’s install dialog may say it cannot find the code if you test without having accepted: that is expected. Accept the notice on your site and test again.
To stop using it, delete the two codes and click Update. More about the notice in Google: measure your visits and help Google find your site.
Can’t find it? Write to us at soporte@edeck.me and tell us which screen and which site. We reply within one working day.
No website yet? We will propose one on edeck.me: 30 days free with a card, from €4.99/month.