# Connect story tracking to Tag Manager, Analytics and Meta

Source: https://knowledge.intractive.app/en/articles/meta-tracking-a-storys-performance

This series shows you how to send what happens in a story (how far people got, what they answered, whether they clicked through) to Google Analytics, Meta and other tools, mostly with Google Tag Manager.

## UTM tracking and Tag Manager

Measuring a story has two halves. UTM tracking tells the destination page where a visitor came from, so you can prove a story sent traffic there.

Tag Manager tells you what happened inside the story. It also feeds that back into advertising platforms, so campaign targeting improves. Most of this series covers Tag Manager.

> [!TIP]
> Google Tag Manager has no reports of its own. It loads on the story page and passes what happens there on to Google Analytics, Meta or any other tool. A Tag Manager ID on its own produces nothing visible until you give it somewhere to send data.

## Who sets it up

You need the admin role in the project. Add the Tag Manager ID in **Project settings** > **Tracking & scripts**.

\[screenshot: Project settings, Tracking & scripts, with the Google Tag Manager field\]

**Header code** and **Footer code** aren't self-service. To add a script such as a Meta pixel, send us a message in the chat and we'll add it for you.

### Without Tag Manager

Without Tag Manager, a superadmin can add a Google Analytics 4 measurement ID, a Meta Pixel ID or a LinkedIn partner ID directly under **Tools**. Ask your Customer Success Manager to do this. Visits from the builder, such as previews, aren't sent to these tools, and neither are visits while you're signed in as an editor of the project. Test them in a private window.

## Read the articles in order

Each article assumes you've read the one before it.

| Article | Read it when | What you'll get |
| --- | --- | --- |
| Story events with Google Tag Manager | You use Tag Manager, the recommended route | Where the Tag Manager ID goes, and which four events a story sends |
| Sending story events to Google Analytics 4 | You want reporting and drop-off analysis | A working Analytics setup, step by step |
| Meta pixel and campaign tracking strategies | A paid campaign points at the story | The pixel setup, plus which events improve targeting |
| Adding a Meta pixel without Tag Manager | You need a quick way to add a Meta pixel | A Meta pixel added without Tag Manager |
| Consent and tag gating | Before any campaign goes live | How to make tags respect a visitor's choice |
| Troubleshooting | Something isn't arriving | Nine symptoms and the cause behind each one |

## Quick reference

### The two IDs people mix up

| ID | Looks like | What it does |
| --- | --- | --- |
| Tag Manager container | `GTM-XXXXXXX` | Goes in **Project settings** > **Tracking & scripts**. Decides what fires and when. |
| Analytics measurement ID | `G-XXXXXXXXXX` | Goes inside Tag Manager, or under **Tools** without Tag Manager (a superadmin sets it). Decides where the data lands. |

\[screenshot: Google Tag Manager workspace with the container ID at the top\]

### What a story sends

A story pushes these events to the page's data layer while someone plays it. In Tag Manager, use the event name in a **Custom Event** trigger.

| Event | Fires when |
| --- | --- |
| `intractiveStoryProgress` | The story loads, and on every progress change. It shows the live position, so its values can go down. |
| `intractiveStoryMilestone` | The visitor passes 0, 25%, 50%, 75% or 100%, at most once each per playthrough. Use this one for funnels and completion rates. |
| `intractiveVariablesUpdated` | A story variable changes. This is how answers get out. |
| `intractiveOutboundLink` | Someone leaves the story through a link: a button, a link in text or a redirect block. |

\[screenshot: Tag Manager Custom Event trigger with the event name intractiveStoryMilestone\]

## Five mistakes that cost the most time

- Expecting reports inside Tag Manager.
- Adding **Once per page** to milestone tags. Each milestone fires at most once per playthrough, so it isn't needed, and it can drop data when a visitor restarts the story.
- Skipping the custom definitions step in Analytics, so parameters are collected but you can't report on them.
- Testing within 15 minutes of publishing and trusting what you see.
- Optimising a campaign towards story completion without checking what "complete" means in that story's shape.

## Next

Start with Story events with Google Tag Manager.
