Google Analytics via Google Tag Manager in Blocs

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:

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.

  1. Open the page settings

  2. Click on “Add Code”

  3. 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

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.


Thank you for taking the time to add this info.