Skip to content
Guide

PureMetrix via Google Tag Manager

Add PureMetrix through Google Tag Manager (GTM) if your marketing team manages tracking codes there—or if you want to run it alongside GA4 for a while before you remove GA4.

PureMetrixLast reviewed 4 min read9 sources checked
  1. Create a Custom HTML (or community template) tag that loads the PureMetrix script with data-domain and your public key.
  2. Trigger it on All Pages (or use Consent Initialization and fire it only if your consent tool allows analytics—that is your legal decision).
  3. Add tags for custom events that call the PureMetrix event function described in the docs.
  4. Use GTM preview mode to check that the script loads only once and your goals fire.

GTM and cookieless tracking

PureMetrix itself does not set visitor cookies. But loading it through GTM does not remove cookies set by other tags in the same container. If you want a leaner, more privacy-friendly setup, review the container and remove tags you no longer need once PureMetrix is live.

Proxy tip

If ad blockers block collect.puremetrix.org, use a proxy on your own domain and point the GTM tag at your /px/js URL.

Migrating from GA4 · Integration guides

Troubleshoot

Last updated: September 2026

What this means in practice

Update your privacy policy with which tool runs, where data is processed, and that a data processing agreement (DPA) is in place. Also review every other script on the site — chat, ads, heatmaps — that may still set cookies.

After switching, run both tools in parallel for two to four weeks and compare trends and goals. Absolute counts between cookieless tools and GA4 behind a banner differ by design; direction and conversions matter more.

Short checklist

  1. Connect the tool or plugin and fire a test pageview.
  2. Optionally serve events through the same-origin /px proxy.
  3. Exclude staff roles (for example admins) from counting.
  4. Create key goals: thank-you pages, forms, purchases.
  5. Sign the DPA and update your privacy policy.

Honest limits

Cookieless analytics will not recognise the same person across months and devices. Remarketing audiences and cross-device journeys are out of scope. In return you see the visitors who would otherwise refuse a banner, with a lean, EU-friendly setup.

Why this topic matters

Website owners in the EU increasingly choose analytics that work without a consent step for the statistics themselves. That only helps if the rest of the stack is honest: where data is processed, who the processor is, and which other scripts still need a banner.

PureMetrix is built for that setup: cookieless counting, EU-only processing on Hetzner, an official WordPress plugin, and plans from €6 a month. Use this page together with your privacy policy and a signed data processing agreement.

How PureMetrix helps

Install the WordPress plugin or a small snippet, connect your site, and you see visitors, sources, top pages and goals without storing a PureMetrix cookie on the device. From the Growth plan, WooCommerce purchases can be recorded on the server so payment redirects do not lose the sale.

Recommended next steps

  1. Read your current privacy policy and list every analytics or marketing script.
  2. Start a PureMetrix trial on a staging or low-traffic site first if you prefer.
  3. Recreate your main goals, then run both tools in parallel for two weeks.
  4. Update the privacy policy, sign the DPA, and remove what you no longer need.

Frequently asked questions

What is this page about?

This page explains “PureMetrix via Google Tag Manager” in practical terms for EU website owners and how PureMetrix fits.

Do I need a cookie banner for PureMetrix?

Usually not for PureMetrix alone, because it does not set visitor cookies. Other tools on your site can still require consent.

Can I try PureMetrix first?

Yes. 14 days free, no credit card. Then pick a plan or stop.

Try cookieless analytics on your own site

14 days free, no credit card. EU-hosted on Hetzner, set up in a few minutes with the WordPress plugin or a snippet.

Start the 14-day trial See pricing