Skip to content

Note18

A basic measurement stack: GA4, Google Tag Manager and Clarity

What each tool does, how they connect and in what order to set them up to measure visits, conversions and behavior on your site or store.

By Thaumachine · · 3 min read

  • measurement
  • GA4
  • GTM
  • Clarity

A basic measurement stack that is enough for almost any site combines three free tools: Google Tag Manager (GTM) to install everything in one place, Google Analytics 4 (GA4) to measure visits and conversions, and Microsoft Clarity to see how people behave on the pages. With that you can already make decisions based on data.

What each one does

Google Tag Manager: the container

GTM is a dashboard where you load and manage tags (tracking codes) without touching the site each time. You install a single snippet on the website and from there activate, pause or modify the rest. Advantages:

  • Less reliance on development for every change.
  • Order: everything lives in one place.
  • Control over when and where each tag fires.

GA4: what happens on your site

GA4 records events: page views, clicks, searches, purchases. It lets you see:

  • Where visits come from.
  • Which pages are used most.
  • Which actions get completed: forms, purchases, sign-ups.
  • How much campaigns contribute.

The key is to mark as conversions the events that matter to your business.

Microsoft Clarity: how people behave

Clarity offers heatmaps and session recordings. It shows where people click, how far they scroll, where they get frustrated or leave. It complements the GA4 numbers with the why. Review its privacy policy and the masking settings for sensitive data before turning it on.

In what order to set them up

  1. Define what you want to measure. The key actions: purchase, form submission, contact click, add to cart.
  2. Create the GTM container and install it on the site.
  3. Create the GA4 property and connect it through a tag in GTM.
  4. Configure the important events, with clear, consistent names.
  5. Mark the conversions in GA4.
  6. Add Clarity also through GTM, and verify masking.
  7. Test everything with GTM preview mode and GA4 real-time reports.
  8. Document what is measured and what each event is called.

If you have an online store

Beyond the basics, you need e-commerce events: view product, add to cart, begin checkout and purchase, with value, currency and items. That lets you calculate revenue and feed ad campaigns. See our guide to ROAS vs ROI.

Connect with your campaigns

  • Google Ads: linking with GA4 and sharing conversions improves optimization.
  • Meta: requires its own pixel and events, ideally complemented by server-side sending.
  • UTM parameters: tag your campaign links to tell origins apart.

More on channels in Meta Ads vs Google Ads.

  • State in your privacy and cookie policies which tools you use.
  • Consider whether you need a notice or consent depending on your market.
  • Avoid sending personal data (such as emails) to analytics tools.
  • Configure masking of sensitive fields in recordings.

Regulation varies by country; consult a legal professional if in doubt.

Common mistakes

  • Installing GA4 directly in the code and also through GTM, doubling visits.
  • Not marking conversions.
  • Different event names for the same thing.
  • Not testing before publishing.
  • Looking only at the total and not the breakdown by channel.
  • Not filtering internal traffic.

After installing

A simple dashboard with visits, conversions, revenue and cost per channel, reviewed on a fixed schedule, is more valuable than twenty reports nobody reads. If you also want a solid technical base, see the technical SEO checklist.

If you want us to get it running

We set up and audit measurement as part of our marketing, ads and content service. Write to us from contact.

Have a problem worth some magic?

Start a project