top of page

Visionary Ads

How to add Google Analytics on your website using GTM

  • Writer: Visionary Ads Marketing
    Visionary Ads Marketing
  • Oct 2, 2023
  • 2 min read



What you need:


  • Google Analytics account.

  • Google Tag Manager account (GTM).

  • For everything to work, the GTM container code must be installed on the site (it can be installed after adding Analytics).

  • (if the GTM account is not yours) Admin access to the GTM container to publish changes.


Steps (total 15 steps):


Step 1: Log into Google Analytics account and go to the Admin section (gear)

How to add Google Analytics on your website using GTM

Step 2: In the Property column, select "Data Streams"

How to add Google Analytics on your website using GTM


Step 3: Click on the data stream you need. If you just created an account, you will most likely have one data stream (if there is none, then create a new web stream).

How to add Google Analytics on your website using GTM

Step 4: In the window that opens, copy the measurements ID

How to add Google Analytics on your website using GTM

Step 5: Log into your GTM account at https://tagmanager.google.com and select the container installed on the site. You can also create a new container (you will need to add it to the site later).

How to add Google Analytics on your website using GTM

Step 7: Go to the "Tags" section. Click the button "New".

How to add Google Analytics on your website using GTM

Step 8: Give a name to your Tag and click on the Tag Type selector.

How to add Google Analytics on your website using GTM

Step 9: Select the "Google Analytics" type.

How to add Google Analytics on your website using GTM

Step 10: Select "Google tag" (not Google Analytics Event!)

How to add Google Analytics on your website using GTM

Step 11: Paste the previously copied GA4 tracking ID (Step 5) and click on the trigger selector.

How to add Google Analytics on your website using GTM

Step 12: Select a trigger "Initialization - All Pages"

How to add Google Analytics on your website using GTM

Step 13: Click "Save".

How to add Google Analytics on your website using GTM

Step 14: Submit the changes and be sure to Publish them.

How to add Google Analytics on your website using GTM
How to add Google Analytics on your website using GTM

Step 15: Done. You have added Google Analytics to your site using GTM. If the GTM container code has already been added to your site, Google Analytics should start receiving information in real time. But if you have created a new GTM account and/or container, then you need to add it to the site (there are many ways to do this, so see our other articles).

How to add Google Analytics on your website using GTM

Commentaires


bottom of page