Skip to content
How-to guideUpdated on 19 Nov 2026

Ask visitors for consent before Meta and Analytics tags fire

Analytics and advertising tags store information on a visitor's device. In the EU and many other countries, that needs the visitor's permission first. A consent banner records what the visitor allows, and Tag Manager holds each tag back until the matching permission is granted.

Topics
On this page

This article describes how the mechanics work. It isn't legal advice. Which tools need consent, and on what basis, is a decision for the client and their data protection officer. Anything you load through Tag Manager or a script we add for you is your responsibility under GDPR, ePrivacy and similar rules.

What you need first

  • A Google Tag Manager container ID on the project. Add it under Project settings > Tracking & scripts (admin only): select Add next to Google Tag Manager, paste the ID and select Save.
  • A consent management platform. Intractive doesn't show a cookie banner for the tags you load yourself, so the banner comes from your consent tool. Use a certified consent management platform rather than building the banner yourself. The visible bar is the simplest part. What is expensive to get wrong is storing a record of each consent, versioning the text people agreed to, and handling withdrawal. Most consent platforms allow full restyling, so the banner can still look like part of the story.
  • Your Customer Success Manager. We add the consent tool to your project for you.

Use a banner that lets visitors say no

A consent banner asks permission and respects the answer. If the visitor declines, the story still plays and the tags stay silent.

A cookie wall makes access conditional on accepting. European regulators have been explicit that this isn't acceptable. Reject has to be a real option that still lets someone view the story.

  • Make Accept and Reject equally prominent. Making Reject harder to find is treated as a dark pattern.
  • Avoid blocking the whole screen if you can. Let the story's cover render, then show a compact bar or bottom sheet.
  • Keep a way back to the choice. The visitor must be able to change their mind later.

The four permissions

Google's consent framework splits permission into four types. Tag Manager can check each one on its own.

PermissionCovers
analytics_storageAnalytics measurement. Google Analytics needs this.
ad_storageAdvertising identifiers. The Meta Pixel and Google Ads need this.
ad_user_dataSending user data to an advertising platform
ad_personalizationUsing the data for personalised advertising and audiences

A consent tool only works if it runs before Tag Manager, so it can set every permission to denied before any tag has a chance to fire. This is prior consent. No tag fires until the visitor agrees.

We add the consent tool at the end of the page head, before the Tag Manager container loads. It applies to every story, QR code and custom-domain entry point of the project.

  1. Set up your consent tool so all four permissions start as denied and are only granted when the visitor agrees.
  2. Copy the consent tool's snippet.
  3. Send the snippet to your Customer Success Manager and ask them to add it to your project.

Gate each tag in Tag Manager

Each kind of tag needs its own permissions.

TagRequire
Google tag and all Analytics event tagsanalytics_storage
Meta Pixel base and all Meta event tagsad_storage, ad_user_data, ad_personalization
  1. In Tag Manager, open a tag.

  2. Go to Advanced Settings > Consent Settings.

  3. Choose Require additional consent for tag to fire.

  4. Add the permissions that match the tag.

  5. Repeat this for every tag in the container.

Tags are created with no consent requirement by default, so they fire whatever the visitor chose. Setting this on every tag is the step that makes the banner do anything. A banner can be built and published while every tag still sends everything.

What happens when someone declines

  • Google Analytics degrades gracefully. With consent mode set up, Google models the conversions it can't observe, so you keep an estimate rather than a hole.
  • Meta does not. Declined means Meta receives nothing at all for that visitor.

Plan for the arithmetic. Measured conversions are roughly the consent rate times the actual conversions. At a 60% consent rate, you need about 85 real conversions for Meta to see 50. This affects the volume thresholds in Meta Pixel and campaign tracking strategies, so build it into expectations at the start rather than explaining it three weeks in.

Consent when the story is embedded

How visitors reach the storyWhat that means for consent
Embedded on the client's own websiteThe client's existing banner governs their own page. You can't pass the consent state into the story frame. Its tags follow the project's own consent setup on the story's domain.
A direct link to the storyThe story needs its own banner for tags in Tag Manager, because a choice made on another website doesn't carry across to a different domain.

Browsers keep domains separate, so consent given on clientwebsite.com doesn't apply on a different domain. A visitor who already accepted cookies on the client's site is asked again on a directly linked story. That's expected behaviour.

If Meta is added without Tag Manager

Intractive can also load the Meta Pixel, Google Analytics 4 or LinkedIn directly, without Tag Manager. We set these up for you, so ask your Customer Success Manager.

Intractive shows no cookie banner for these tags, so asking for consent is your responsibility. Intractive loads them on every visit that isn't a builder visit. A consent tool we add for you doesn't decide whether they load.

Visits from the builder, such as previews and anyone signed in as an editor of the project, aren't sent. Check the tags in a private window.

Keep story analytics separate from advertising

Intractive's own story statistics, under Insights, aren't an advertising pixel. They run alongside third-party tools such as Google Analytics and Meta, independently of Tag Manager. Set it up so that declining consent switches off Google Analytics and Meta while the client keeps their basic story reporting.

The Remember visitors setting under Project settings > Privacy & legal controls how long a story session is remembered. Loose keeps it between visits. Strict clears it when the tab closes, so visitors can't resume a story later. With Strict, Intractive's own analytics use session storage only.

This setting governs the story's own session. It doesn't gate Google Analytics or Meta tags: tags loaded through Tag Manager or a script we add for you aren't bound by it. Consent Settings in Tag Manager do that job.

Did this help?