Black Friday tracking without breaking consent: a checklist for Shopify and WooCommerce

Every campaign app and pixel you add before Black Friday on November 27 is a new tracker. Here is how to scan, block and verify them on Shopify and WooCommerce without losing your conversion data.

By Amna Akhtar

Cookie Panda cover: Black Friday tracking without breaking consent, a 10-point checklist for Shopify and WooCommerce
On this page
View as Markdown

Black Friday falls on November 27 this year, the day after US Thanksgiving, with Cyber Monday on November 30. In the weeks before it, most stores install something new: a countdown timer, a spin-to-win popup, a reviews widget, a retargeting pixel, an affiliate tracker. Each one is a new script that can set cookies or send visitor data to a third party. If it loads before the visitor has made a choice, your banner is no longer doing its job, and trackers placed before a choice are exactly what regulators keep fining.

Here is how to add campaign tracking on Shopify and WooCommerce without breaking consent, plus a 10-point checklist to run before launch.

Your cookie list is only as current as your last scan. Promo apps often inject scripts on every page, and some load further vendors of their own. Install everything you plan to use for the campaign, then scan. The Cookie Panda Automated Cookie Scanner crawls your store with a headless browser, classifies each cookie and tracker by vendor, purpose and expiry, and keeps your cookie policy page in sync. Anything new shows up in the results so you can assign it to the right category before it goes live.

If you only install the apps on launch day, schedule a re-scan for that day too.

Advertising pixels are the tags that matter most, because they send data off your site. Each platform handles consent a little differently:

  • Meta Pixel. Meta's consent API lets you call fbq('consent', 'revoke') before init on every page, then fbq('consent', 'grant') once the visitor opts in (Meta developer docs).

  • Google Ads and GA4. Google tags read Consent Mode signals: ad_storage, ad_user_data, ad_personalization and analytics_storage. The default state must be set before any Google tag runs.

  • TikTok Pixel. TikTok offers a pixel consent mode; check TikTok's own help pages for the current setup, or simply keep the pixel blocked until the advertising category is accepted.

The most reliable approach is not to depend on each vendor's consent API at all. Cookie Panda's Prior Cookie Blocking rewrites and gates tag-loading scripts per category, so an advertising pixel simply does not load until the visitor accepts advertising, and is unblocked the moment they do.

Blocking tags protects visitors, but it also means fewer measured conversions at the moment you most want them. Google Consent Mode v2 lets Google's products model the conversions they cannot observe. In advanced mode, Google tags load with consent denied and send cookieless pings, which gives an advertiser-specific model. In basic mode, the tags are blocked until the visitor decides, and Google falls back to a general model (Google's Consent Mode overview).

Since March 2024, Google's EU user consent policy has also tied some features to consent signals: without them, EEA users drop out of the GA4 audiences you share with Google Ads. If you sell into Europe, missing signals mean shrinking remarketing lists. Cookie Panda emits Consent Mode v2 signals automatically as visitors make or change their choices. A step-by-step setup guide for Google Tag Manager is coming next in this series.

4. Setup on Shopify

  1. In your Cookie Panda dashboard, add your store's domain and copy your site token.

  2. In Shopify admin, go to Online Store → Themes → Edit code and open theme.liquid. Paste the Cookie Panda script high in the <head>, before any analytics or advertising tags.

  3. Add a footer menu link labelled "Cookie settings" with the URL #cookie-settings so shoppers can reopen the banner at any time.

  4. Check Shopify's own consent layer. Pixels you add through Customer events, and many app pixels, follow Shopify's Customer Privacy API rather than scripts on the page. Shopify says those pixels might be restricted or not fire at all if consent is not synced, so test them separately (see the checklist below).

  5. Run a scan, categorise anything new and publish the banner.

<!-- theme.liquid, inside <head>, before other tracking scripts -->
<script
  src="https://sdk.cookiepanda.app/cookiepanda.min.js"
  data-cp-token="cp_xxx"
  async
></script>

5. Setup on WooCommerce

  1. Add the same script to your site's <head>, ahead of other tags, through your theme's header or a header-scripts plugin.

  2. Add a "Cookie settings" custom link to your footer menu with the URL #cookie-settings.

  3. If you use Google for WooCommerce, note that it sets every Consent Mode parameter to denied by default for EEA visitors and does not show a banner of its own (WooCommerce docs). Consent updates sent on the page apply to its Google tags too, so they start measuring once a visitor accepts.

  4. Some WordPress plugins read consent through the WP Consent API instead. If a plugin keeps tracking after a visitor rejects, check how it gets its consent state.

The 10-point pre-launch checklist

Run this in a private browser window, once from an EU location and once from the US, before your campaign goes live:

  1. Every campaign app is installed and a fresh cookie scan has run since.

  2. Every new cookie and vendor from the scan is assigned to a category.

  3. Before any choice, the browser's network tab shows no requests to Meta, Google Ads or TikTok.

  4. After "Reject all", those requests still do not appear, on product pages, cart and checkout.

  5. After "Accept all", the pixels fire and a test purchase shows up in each ad platform.

  6. Google Tag Assistant shows Consent Mode defaults set to denied, then updated after the choice.

  7. Shopify Customer events and app pixels follow the visitor's choice in a test order.

  8. Popups, spin-to-win and email capture tools do not cover or hide the consent banner.

  9. A "Cookie settings" link in the footer reopens the banner on every page.

  10. US visitors sending Global Privacy Control are opted out of sale and sharing automatically.

Selling to US shoppers? New state laws start on January 1, 2027, right after the holiday season. Our guide to the five January 1 deadlines covers what changes. And if you run several stores, Cookie Panda pricing is flat per domain, so a traffic spike on Black Friday never raises your bill.

Black Friday pre-launch consent checklist with ten numbered checks, from a fresh cookie scan to honouring GPC
Save this checklist and run it before your Black Friday campaign goes live.

Get your store consent-ready before November 27

Scan your store, block pixels until shoppers opt in and send Consent Mode v2 signals automatically.

Free for one domain, with unlimited pages and traffic.

Share this article

Related posts

All posts