Hello forum,
I just finished setting up the Google Tag Manager and connecting it to the website I am currently working on in blocs. Blocs and the Tag Manager seem to get along just fine.
As I have not seen it mentioned in the forum yet, here is quick how to:
- get your Google account
if you don’t have one yet - create a Google Analytics account
if you don’t have one yet and get the tracking ID for your website - create a Google Tag Manager account
Within the Google Tag Manager
-
Create an account (handy if you want to use GTM on several websites)
The account will hold the container ID for your website.
When you create the account choose the “web” option.
Hitting the “create” button will give you the GTM code you need to insert in blocs (after you agreed to Google Tag Manager Terms of Service Agreement).
Now, switch to Blocs and copy the code to each page.
-
Open the page settings
-
Click on “Add Code”
-
Copy the GTM code in the head and body
That is pretty much it. The rest is done in the Google Tag Manager.
Within the Google Tag Manager
-
Add your first Tag
I selected “Universal Analytics”. -
You then need to enter your tracking ID from Google Analytics.
-
The last step is to select a trigger (all pages).
Of course you can set up all kind of different tag types, which is why I think it is very interesting to take a look a the Tag Manager.