GTM Base container

A Google Tag Manager base container is an easy way to set up those events that you always track for GA4.

Fill in the form below to get the Meliorum version of the container. We won’t email you or spam you, we just want to know who is using it. Below are the steps on how to use.

Import the container

In a blank container, go to Admin > Import Container

Choose the downloaded file, choose a new workspace and give it a good name, e.g. <your name> - GA4 set up. If the container is empty, it shouldn’t matter if you pick overwrite or merge. If you want to keep the tags you have, then pick merge.

Select Confirm.

Update Variables

C - GA4 ID

Update this with your GA4 data stream ID.

C - website list

Update to a list of your domains. If more than one, separate them with a comma (,).

Update Triggers

Click - CTA

Update the CSS selector to match what your CTA buttons are. If targeting a class, remember to put a period (.) before, e.g. .cta-class

Click - footer

Update the CSS selector to match what your footer links are. If targeting a class, remember to put a period (.) before, e.g. .footer, or if targeting all links in the footer area, it would be “footer a”.

Click - megamenu

Update the CSS selector to match what your footer links are. If targeting a class, remember to put a period (.) before, e.g. .menu, or if targeting all links in the Nav area, it would be “nav a”.

EV - 404 view

Update the CSS selector to match what is on your 404 pages. Hopefully, there is a unique class for the body, e.g. .404-page.

Test! Test! Test!

Make sure you preview the container and test that all the events are working as expected.

Fill in the form below to get your copy. We won’t email or spam you. We just want to know who is using it.

Previous
Previous

Segments in Looker Studio and GA4

Next
Next

There are no clocks present