# Why Meta counts more story completions than starts

Source: https://knowledge.intractive.app/en/articles/meta-why-completions-get-over-counted

When a visitor reloads a story they've already finished, tags built on story progress fire a completion again. Build your tags on the milestone event, or add a gate so completion tags only fire on a page where the story started.

## My funnel shows more completions than starts

The symptom is a funnel that widens at the bottom. Completions can't exceed starts in reality, so if you see it, you're counting reloads.

In one test, a pixel showed 8 story completions against 4 story starts, with 5 qualified leads. Nobody had completed the story 8 times. Roughly half of those conversions were page reloads of an already-finished session.

Check this before you trust any story funnel, and keep checking it after the fix:

- Completions should never exceed starts.
- Halfway should never exceed starts.
- If a score-based or qualification event is close to your completion count, be suspicious. Both inflate together.

## Why it happens

Story sessions are saved. When someone reopens a story link, the player restores where they left off. If they had finished, it reports the story as complete again, immediately, before they touch anything.

Every halfway and completion tag built on `intractiveStoryProgress` fires on that. So a returning visitor who reloads the page books another completion, and another qualified lead, every time. It affects Google Analytics 4 and Meta tags in Tag Manager that trigger on `intractiveStoryProgress`, and it has probably happened in every story you've measured this way. Intractive's own analytics aren't affected. A GA4 or Meta Pixel ID that a superadmin added directly isn't either: a resume or a language switch doesn't send `StoryStart`, `StoryProgress` or `StoryComplete` again for a Meta Pixel added that way. Only `PageView` is sent again on each visit.

A genuine run and a resumed one differ in the first progress event on the page.

| Situation | First progress event on the page | What fires |
| --- | --- | --- |
| Genuine run | `progress = 0`, `depth = 1` | Story start, then halfway, then complete, in order, as the person moves |
| Resumed, mid-story | `progress = 47`, `depth = 5` | Anything whose threshold is already passed |
| Resumed, finished | `progress = 100`, `depth = last` | Halfway and complete and any score-based event, all within two seconds of page load |

A new playthrough opens at `progress = 0`. A resumed session usually doesn't, but one where the visitor had answered nothing also opens at `0`, and the gate below lets that through. The milestone event handles resumes correctly.

## Fix for new tags: use the milestone event

Stories also send `intractiveStoryMilestone`. It fires when a visitor passes 0, 25%, 50%, 75% and 100%, at most once each per playthrough. A resumed session doesn't report `0` or any milestone it had already passed, so a reload of a finished story sends nothing. If you're setting up tags now, you don't need the gate.

1. In Tag Manager, create a **Custom Event** trigger with the event name `intractiveStoryMilestone`.\
   \[screenshot: Tag Manager Custom Event trigger with event name intractiveStoryMilestone\]
2. Create a **Data Layer Variable** for the field `milestone`.
3. Add a condition to the trigger: `milestone` equals `0` for your story start tag, `50` for halfway or `100` for complete.
4. Attach the trigger to the matching tag.
5. Repeat steps 1, 3 and 4 for each tag, so every tag has its own trigger.

A milestone survives the visitor leaving and coming back, or switching the story's language. A visitor who restarts the story starts a new playthrough, which reports its milestones again from the start. The `100` milestone fires only once the story is complete. Reaching the last block isn't enough, but a story that ends by redirecting the visitor counts as complete when they reach that block.

## Fix for existing tags: add a gate in Tag Manager

If your tags are already built on `intractiveStoryProgress`, a gate fixes them without rebuilding. The gate is a variable, a blocking trigger and an exception on each tag that needs it.

### Create the variable

1. Go to **Variables** > **New** > **Custom JavaScript**.
2. Name it `JS - story started this page`.
3. Paste this code:

   ```javascript
   function() {
     try {
       var dl = window.dataLayer || [];
       for (var i = 0; i < dl.length; i++) {
         var e = dl[i];
         if (e && e.event === 'intractiveStoryProgress' && Number(e.progress) === 0) {
           return 'true';
         }
       }
     } catch (err) {}
     return 'false';
   }
   ```

The variable scans everything the page has pushed so far and looks for a genuine start. Tag Manager re-evaluates it every time a tag is considered, so it's correct at the moment it matters.

### Create the blocking trigger

1. Go to **Triggers** > **New** > **Custom Event**.
2. Name it `Block - resumed session (no story start)`.
3. Set the event name to `.*` and tick **Use regex matching**.
4. Under **This trigger fires on**, choose **Some Custom Events**.
5. Set the condition to `JS - story started this page` **equals** `false`.\
   \[screenshot: blocking trigger settings with regex matching ticked and the false condition\]

### Add the trigger as an exception

| Gate these | Why |
| --- | --- |
| Halfway / 50% events | Re-fires on any resumed session past the midpoint |
| Story complete events | Re-fires on every reload of a finished story |
| Score or qualification events | Restored variables re-trigger the threshold |
| Answer / variable-updated events | Restored answers aren't new answers |

| Leave these alone | Why |
| --- | --- |
| Story start / ViewContent | Fires at `progress = 0`. A resume where nothing was answered also opens at `0` and fires it again; use the milestone event to avoid that |
| Outbound click / Lead | A click is a real action, whenever it happens |
| Block view | Someone resuming is viewing that block |
| Config and base pixel tags | Page-level, not milestones |

1. Open a tag that needs the gate.
2. Go to **Triggering** > **Add Exception**.
3. Choose the blocking trigger.\
   \[screenshot: a completion tag's Triggering section with the blocking trigger as exception\]
4. Repeat for every tag in the first table.

## The same fix without Tag Manager

If you run the pixel from **Footer code** instead, build it on `intractiveStoryMilestone`. It needs no resume gate:

```javascript
if (Number(o.milestone) === 100) {
  // story complete: send your completion event here
}
```

Your Customer Success Manager sets the footer code on your project. See the article on adding a Meta pixel without Tag Manager.

## Check that the fix works

You need a finished session to test against.

1. Open the story in a private window and play it through to the end. Your completion tags fire normally.
2. Reload that same finished page. In Tag Manager's **Preview**, the gated tags now appear under **Tags not fired**.\
   \[screenshot: Tag Manager Preview after a reload, gated tags listed under Tags not fired\]
3. Reload twice more. Still nothing fires.

With tags on `intractiveStoryMilestone`, the reload sends no milestone event, so those tags don't fire either.

> [!TIP]
> **Note:** Testing a story you've already finished looks broken. The story resumes at the end, the gate suppresses everything and you see no events. That's the gate doing its job. Always start from a private window when you want to see a full funnel.
