LinkedIn and Microsoft tags firing before consent

Why third party tags in Google Tag Manager ignore your cookie banner, and how to map Consent Mode v2 categories to stop unauthorized tracking.

You implement a new cookie banner and configure Consent Mode carefully. Google Analytics waits for permission perfectly. But when you check the network requests, the LinkedIn Insight Tag and Microsoft UET tags are firing before the user even clicks a button.

You might assume that Consent Mode automatically governs every tag in your container. It does not. Tags built by third parties often lack native consent checks. If they are not explicitly configured to wait, they default to firing unconditionally on every page load.

We map your entire tag inventory to the correct consent categories. We configure the Advanced Consent Settings in Google Tag Manager to ensure no tag fires without explicit permission. The result is a tracking setup that respects user choices while still delivering accurate data when consent is granted.

The mechanics of third party tag templates

Google Tag Manager operates using predefined templates. Google products like GA4 and Google Ads have built in consent checks that communicate seamlessly with Consent Mode v2. When a user denies permission, these tags adjust their behaviour automatically.

Third party templates operate differently. A tag built for LinkedIn, Microsoft, or a bespoke CRM system might not include these native consent checks. By default, Google Tag Manager assumes a tag should fire when its trigger conditions are met. If the trigger says to fire on a page view, the tag fires on the page view, completely ignoring the state of the cookie banner.

This creates a serious gap in your implementation. You have a banner that looks compliant to a casual visitor, but the underlying mechanics are sending tracking payloads to advertising platforms without permission. You must tell Tag Manager explicitly which consent categories apply to which third party tags.

The commercial cost of broken consent rules

When tags fire before consent is granted, the commercial consequence is a contaminated data pool. Your dashboard receives data from users who explicitly opted out or who have not yet made a choice. This artificially inflates your traffic numbers and creates a false baseline for your marketing performance.

We evaluate the impact of this leakage across your advertising accounts. If an advertising platform receives conversion signals from users who opted out, the bidding algorithm learns from invalid data. When you eventually fix the consent implementation, you will see a sudden, inexplicable drop in reported conversions because the platform is no longer receiving the illegal data it relied upon.

We follow the consent signal from the banner click to the final tag execution. We check what happens all the way through the tracking logic. Then we fix the gaps by applying strict gating rules to every tag.

Quantifying the consent leakage

Consider a scenario where the main Google tags respect the banner, but the LinkedIn and Microsoft tags are allowed to fire unconditionally due to missing configuration.

Traffic sourceTotal visitorsTrue consent grantedTrue consent deniedDashboard reported tracked usersUnlawful tracking gap
Google Ads50003500150035000
LinkedIn Ads30001800120030001200
Microsoft Ads200011009002000900
Organic Search80004500350080003500
Total period impact18000109007100165005600

The LinkedIn and Microsoft platforms record every single visitor, completely ignoring the 7100 users who denied consent. This creates a significant compliance risk and skews the performance metrics for those specific channels.

Diagnosing the unmapped tags

When tags fire inappropriately, we check the specific configurations in Google Tag Manager to identify the missing consent requirements.

Tag behaviour observedWhat is happening underneathRequired configuration adjustment
LinkedIn tag fires on first page load before banner interactionThe tag lacks built in consent checks and has no advanced consent requirements set.Require ad_storage in the Advanced Consent Settings for the tag.
Microsoft UET fires when a user clicks deny on the bannerThe trigger fires on the page view and the tag ignores the consent update event.Require ad_storage and ensure the tag waits for the consent signal.
Facebook Pixel tracks purchases for opted out usersThe custom HTML tag or template is not mapped to the advertising consent category.Map the tag to ad_storage to prevent execution without permission.

Adjusting the consent settings correctly

We check whether a user choice is actually respected across all systems before we sign off on a consent implementation. To fix unmapped tags, we do not recommend deleting them. Instead, we use the Advanced Consent Settings available in Google Tag Manager.

Every tag has a section for consent configuration. You must explicitly select the option to require additional consent for the tag to fire. For a tracking tag like LinkedIn or Microsoft UET, you typically require the ad_storage category. Once this is set, Tag Manager will block the tag from firing until the Consent Mode state confirms that ad_storage has been granted by the user.

This setup requires precise mapping of every single tag in your container. If a new tag is added later without these settings, the leakage will return. We review the entire container to ensure every tag is bound to a specific consent category.

When your dashboard says you have tracked a user, that user should have actually granted permission. You can read more about how we audit these setups on our cookie consent services page. For related issues, see our guides on resolving Consent Mode discrepancies and managing UK specific cookie scoping rules.

Frequently asked questions

Why do some tags ignore Consent Mode?

Tags built by third parties often lack native consent checks. Google Tag Manager assumes a tag should fire when its trigger conditions are met unless you explicitly tell it to wait. Without manual configuration, they default to firing unconditionally on every page load.

How do I stop the LinkedIn Insight Tag from firing early?

You must open the Advanced Consent Settings for the LinkedIn tag in Google Tag Manager. Select the option to require additional consent and specify the ad_storage category. This forces the tag to wait until the user explicitly grants advertising permission via the banner.

What are Advanced Consent Settings in Tag Manager?

Advanced Consent Settings allow you to manually map any tag to specific Consent Mode categories. This acts as a gatekeeper for tags that do not support consent checks natively. It ensures no tag executes unless the required consent state is currently active.

Why is Microsoft UET tracking opted out users?

If the Microsoft UET tag is not mapped to the ad_storage category, it will fire based solely on its trigger, such as a page view. It is completely blind to the state of the cookie banner. You must apply the correct consent requirements to block it appropriately.

Do Custom HTML tags respect Consent Mode automatically?

No, Custom HTML tags never respect Consent Mode automatically. They require explicit configuration in the Advanced Consent Settings to function correctly under privacy rules. If you omit this step, any script within the tag will execute regardless of user preference.