On this page
What this issue is
A consent banner records whether a visitor accepts or rejects tracking. For this to matter, every ad tag on the page must obey that choice. This issue means the TikTok Pixel, the LinkedIn Insight Tag, or both, still load and send hits after the visitor has rejected marketing cookies.
Why it costs you leads or sales
- Visitor landsBanner appears
- Clicks RejectCMP stores 'marketing denied'
- Tag manager loads tagsTikTok and LinkedIn tags have no consent check
- Pixel hits sentData goes to TikTok and LinkedIn anyway
The visitor rejects, but the pixel never checks the choice.
How to check if your site has it
Open a clean session
Use a private window, or clear cookies for your site, so the banner shows again. If you are in the EU or UK or use a VPN there, you see the EU banner.
Open DevTools
Press F12, go to the Network tab and tick 'Preserve log'.
Click Reject all
Do not accept anything. Then reload and browse to a key page, such as a form or product page.
Filter the requests
Look for requests to analytics.tiktok.com (TikTok) and px.ads.linkedin.com or snap.licdn.com (LinkedIn). Any request after Reject means the tag ignores consent.
Check cookies too
In Application > Cookies, look for _ttp (TikTok) and li_sugr or bcookie (LinkedIn). If they appear after rejecting, the tags ran.
How to fix it
Turn on consent overview
In your container go to Admin > Container Settings and tick 'Enable consent overview'. This shows which tags have consent checks.
Open the TikTok tag
Open the tag, go to Advanced Settings > Consent Settings and choose 'Require additional consent for tag to fire'.
Add the consent type
Add ad_storage. Many CMP templates use this as the marketing signal. Use the type your CMP maps to marketing.
Repeat for the LinkedIn tag
Do the same for the LinkedIn Insight Tag and any LinkedIn conversion tags.
Check the CMP sets the signal
Make sure your CMP template sets consent defaults to denied and updates on Accept. Then use Preview mode to confirm the tags are blocked until you accept.
Find how the pixels are added
Check your theme header, a pixel plugin, or a tag manager plugin. Pixels pasted into the theme ignore consent unless the CMP blocks them.
Use your CMP's blocking feature
In your cookie plugin settings, assign the TikTok and LinkedIn scripts to the marketing category so they are blocked until accepted. Menu names vary by plugin.
Or move the pixels into GTM
If you use Google Tag Manager, remove the hard-coded pixels and load them there with consent checks.
Use Customer privacy settings
In Settings > Customer privacy, set up the cookie banner and regions where consent is required.
Add pixels through Customer events
In Settings > Customer events, add the pixel as a custom pixel and set its Customer privacy permission to Marketing, so it runs only when marketing is granted.
Remove theme-pasted code
Search theme.liquid for TikTok and LinkedIn snippets. Delete duplicates that bypass the consent setting.
Find pixel code
Check Project settings > Custom code and any page-level custom code for TikTok or LinkedIn scripts.
Block until consent
Webflow has no built-in blocking for these. Use your CMP's script-blocking attribute, or load the pixels from Google Tag Manager with consent checks.
Wrap the pixel loader
Put the TikTok and LinkedIn snippets inside a function that runs only after your CMP reports marketing consent. See the example below.
Run it on Accept and on return visits
Call the function when the visitor accepts, and on page load if a stored choice already grants marketing.
var pixelsLoaded = false;
function loadMarketingPixels() {
if (pixelsLoaded) return;
pixelsLoaded = true;
// Paste the TikTok base code here
// Paste the LinkedIn Insight Tag code here
}
// Replace with your CMP's real API and event names
function onConsentChange(choice) {
if (choice.marketing === true) {
loadMarketingPixels();
}
}
// Also run on page load if a saved choice already allows marketingIgnoring consent
- TikTok and LinkedIn tags fire on All Pages
- Requests are sent after Reject all
- _ttp and LinkedIn cookies set without a choice
Following consent
- Tags wait for marketing consent
- No TikTok or LinkedIn requests after Reject all
- Tags fire normally after Accept all
Consent: blocked / denied
- GA4no hit
- Google Adsno hit
- Meta Pixelno hit
Visitor rejects marketing, yet the TikTok and LinkedIn tags still fire and send data.
Toggle the cause to see how a missing consent check changes which tags fire after a rejection.
How to confirm it's fixed
- Clear cookies and open the site in a private window
- Click Reject all and browse a few pages
- No requests to analytics.tiktok.com or LinkedIn domains appear in the Network tab
- No _ttp or LinkedIn cookies are set
- Clear cookies again, click Accept all and confirm both tags now fire
- Submit a test lead after accepting and check the conversion event is sent
- Check Google Tag Manager Preview shows the tags as blocked, then fired
How to prevent it happening again
- Add consent settings to every new marketing tag before publishing
- Never paste ad pixels into theme files if you use a tag manager
- Re-test the Reject path after CMP updates, theme changes and container publishes
- Keep a list of every ad tag and which consent category it belongs to
- Schedule an automated check of the rejected case
Week 1
A marketer adds the TikTok pixel with an All Pages trigger and no consent settings.
Week 2
The LinkedIn Insight Tag is pasted into the theme header.
Week 6
The CMP is set up and Google tags respect it, so everyone assumes all tags do.
Later
A test with Reject all shows both pixels still firing. Consent checks are added.
How FunnelGuard handles this
Questions people ask
Why is my TikTok pixel firing when the visitor rejects cookies?
The pixel is probably hard-coded or set to fire on All Pages with no consent check. TikTok does not read Google Consent Mode automatically, so your CMP or tag manager must block it until marketing consent is granted.
Does Google Consent Mode control the LinkedIn Insight Tag?
No. Consent Mode signals are read by Google tags. The LinkedIn Insight Tag needs its own control, such as a consent requirement in Google Tag Manager or script blocking in your cookie banner.
How do I block the TikTok pixel until consent is given?
In Google Tag Manager, open the TikTok tag, go to Advanced Settings > Consent Settings and require the marketing consent type your CMP sets. Alternatively, mark the script as marketing in your CMP so it is blocked until accepted.
How do I test whether tags fire after I click Reject all?
Open a private window, open DevTools and the Network tab, click Reject all, then browse. Look for requests to analytics.tiktok.com and LinkedIn domains such as px.ads.linkedin.com. Any request after rejecting means the tag ignores consent.
Why did my TikTok and LinkedIn conversions stop after I added consent checks?
The tags may now be blocked for everyone, or your CMP may not be sending the granted signal after Accept. Test with Accept all and check the consent update reaches your tag manager.
Can a tag still fire if I have both a gated and an ungated copy?
Yes. The ungated copy, often pasted in the theme header, ignores consent and keeps sending hits. Search your page source for both pixel domains and keep only the gated copy.
Can FunnelGuard detect pixels that ignore consent?
Yes. FunnelGuard runs a denied variant that rejects consent and checks whether tracking hits, including TikTok and LinkedIn, are still sent. It alerts you with a screenshot and a likely cause.
Related issues
- TRK-283Tags still fire after visitor rejectsFix guide
- TRK-282Consent banner shown but tags fire before any choiceFix guide
- TRK-303Cookies set before consent (_ga, _fbp)Fix guide
- TRK-298CMP categorises analytics tag wrongly (necessary vs marketing)Fix guide
- TRK-296CMP script fails to load, blocking all tagsFix guide
- TRK-288Consent update never sent after AcceptFix guide