Aller au contenu

Les articles d'aide existent en allemand et en anglais. Vous les lisez ici en anglais.

Installation

How do I connect Google Tag Manager?

You download the “Metrunio Tracking” template as a file in “Setup” and import it into your container. You create a tag from it, enter the write key, choose the trigger “Initialization - All Pages” and publish. This route needs no change to your website’s source code.

How do I install Metrunio through Google Tag Manager?

  1. 01Download the “Metrunio Tracking” template in “Setup” and import it in your container under “Templates”.
  2. 02Create a tag based on the template and enter the write key. The file already contains the site ID and the collector address.
  3. 03Choose the trigger “Initialization - All Pages”.
  4. 04Save, check in preview, then publish.

Caution

Without publishing, the tag is only active in preview. That is by far the most common reason for no data arriving.

Where the template comes from

The template is available as a file from “Setup”. It loads the script from the address configured for your website, including your own measurement domain.

Consent in the tag manager

The tag has two checkboxes: analytics and marketing consent. Only tick them if the tag’s trigger fires after consent, for example on your consent tool’s consent event. If both stay empty, the tag reports no decision: Metrunio waits until your consent tool reports one through metrunio.setConsent and sends nothing until then. Until 24 September 2026 two empty boxes counted as a refusal; now they count as no decision, because nobody made one.

Caution

With the tag manager there is no embed code that checks calls before the script loads. Your page writes them into window.metrunioQueue itself, and the tag manager cannot intercept every entry there. When it fires, and again if the script fails to load, the template drops every measurement call in the queue for which no matching decision through setConsent stands there; the checkboxes do not count for this. Whatever your page writes in after that, until the script has loaded, stays there until it has loaded. So only queue a purchase, a customer ID or the post-purchase question after the decision.

Verification

Start the live test in the portal and open your website in a new tab. The checklist shows, one after another: “Tracking script detected”, “Consent status detected”, “Session started”, “Page view received”. These checks only turn green when your website itself sends. A click on “Send a test event” shows up as “Test event received”; it proves that processing works, not that the tag measures.

Dernière vérification le 19 oct. 2026

Dans le portail client

Go to setup

Également demandé

  • Set up GTM
  • Import tag manager template
  • Where do I get the Metrunio GTM template?
  • How do I add the tag?
  • Does the GTM template hold calls without consent?
  • When do I queue a purchase in metrunioQueue with GTM?

Articles connexes

  • No data after setup? Check these six points

    No data arrives after installation. What do I check?

    First: is the data processing agreement concluded? Without it Metrunio accepts nothing, and the portal shows “Measurement paused: DPA missing.”. If it is concluded, the GTM container is usually not published, consent is missing or the domain is not in the allowed list; these six steps cover the most common causes.

  • How do I connect my consent tool?

    Which consent tools behind my cookie banner are supported, and how do I map the categories?

    In “Setup” you select your consent tool, the tool behind your cookie banner; for the common systems the categories are pre-filled. Other CMPs and custom consent APIs can be mapped freely.

  • How do I install the code snippet?

    How do I install Metrunio without a tag manager?

    The finished code block is in the portal under “Setup → Snippet” and contains site ID and collector address. You see the write key only once, when it is created; if it is no longer known, the code carries the placeholder YOUR_WRITE_KEY and a button next to it creates a new one. The block belongs immediately before the closing head tag and loads asynchronously.

Voyez ce que racontent vos données.

Explorez d’abord la démo. Un compte personnel n’est actuellement disponible que sur invitation.

Ouvrir la démoDemander un accès