Shopify5 min read

Does your Shopify Meta tracking respect the cookie choice?

Test your Shopify app, custom pixel, old theme code and server sends against the visitor’s cookie choice.

The short answer

Run the same store action in fresh sessions with no choice, Decline, and Accept. Compare what Shopify’s Pixel Helper sees with what arrives at Meta from the browser and server. Start by checking what your store is set to allow for each choice in the region you test.

  • Test a fresh session for each choice so an old choice can’t carry over.
  • Write down browser and server results on their own.
  • Source guidance checked on 4 December 2026.

Ask an assistant

ChatGPTClaudePerplexity

What should the cookie choice change on your store?

In Shopify, open Settings and Customer privacy. Check where the banner shows and how it handles the choices in your test region. Then open Customer events and check what permission the pixel needs. A pixel is code that tracks an action such as a page view or a sale. Shopify’s privacy settingshelp.shopify.com · Shopify’s custom pixel settingshelp.shopify.com

In regions where Shopify waits for consent, an app’s web pixel that needs it can wait until the visitor gives it. After the visitor accepts, Shopify replays the earlier actions from that page. Log when they made the choice as well as when Meta got an event. How Shopify app pixels handle consent and replayshopify.dev

Which parts of your store can send the same event?

List every place that can send the event you’ll test. Start in Customer events with the app and custom pixels. In Facebook and Instagram by Meta, check the Data sharing settings and the Meta pixel it uses. Shopify says Enhanced and Maximum use a browser pixel and can also send Purchase from Shopify’s server. Shopify’s Meta data sharing guidehelp.shopify.com

Check for old pixel code in the live theme too. Shopify lists theme.liquid and older post-purchase scripts as places a manually added pixel may live. If you use a custom tag setup, trace the Shopify pixel path. Write down the Meta source ID for each path you find. Shopify’s old pixel checklisthelp.shopify.com

How do you test no choice, Decline and Accept?

Pick one action you can repeat. Start with a product page view for a browser check. To check both paths, choose an event your setup sends from both. Shopify documents server Purchase for Enhanced and Maximum. A page view checks a different action. Shopify’s Meta data sharing guidehelp.shopify.com Use a supported test order in a test store. Shopify Payments test mode can let some express checkouts finish without charging the customer. Shopify advises keeping test mode off on live stores. Shopify’s test-mode limitshelp.shopify.com Keep the same region, page and action for each run. Start each run in a clean browser session with no saved choice. Shopify’s test steps for app pixelshelp.shopify.com · Shopify’s test order guidehelp.shopify.com

No choice

What to record
Leave the banner open. Record whether the action sends before you make a choice.

Decline

What to record
Decline on the store’s banner before the action. Record any browser or server send.

Accept

What to record
Accept on the banner before the action. Record what arrives from each path you expect to run.

For each action and sender, record what you expected and what you saw. Mark a mismatch if those differ. Mark a path unchecked if you can’t see its send or receipt.

Use the store banner in all three runs. The Helper has its own Give consent to continue test button. Leave that button alone while testing the banner so you know which choice the visitor path used. Shopify’s note on the Helper’s consent buttonhelp.shopify.com

What can Pixel Helper and Meta each see?

In Settings and Customer events, open the app pixel’s menu and choose Test. For a custom pixel, first check that it says Connected. Save each custom pixel result before you change pages. The Helper clears that event log when you move to a new page. Shopify’s app pixel test stepshelp.shopify.com · Shopify’s custom pixel test stepshelp.shopify.com

The Shopify Pixel Helper shows whether the pixel you picked got the shop action. A green dot marks a successful run of that pixel’s event code. Check one pixel at a time. To check whether Meta got the action, also look in the right source in Events Manager (Meta’s event inbox). What Shopify’s green and red dots meanhelp.shopify.com

Start with Test Events for the browser. For a server send, use the supported test path for that app. Meta’s server test needs a test code and those sends can still enter measurement, so use a test destination. If your app gives you no way to see its server send, mark that path as unchecked and ask the app owner what they can confirm. Meta’s server testing notesdevelopers.facebook.com

What if only the browser or only the server sends?

If you see a browser send when that choice should block it, look at each app and custom pixel. Then look for an old theme tag that can run on the same page. If the server sends an event your settings should hold, ask the app owner which consent signal the server uses. Shopify says server pixels still follow your store’s privacy and consent settings. Shopify may limit those events when a visitor hasn’t agreed. Shopify’s migration and banner checkshelp.shopify.com · Shopify’s server pixel noteshelp.shopify.com

If neither path sends on Accept, check whether a third-party banner passed the choice to Shopify. Then check for a pixel error or wrong Meta source. If the event reaches Meta and only the ads report is blank, follow the Shopify receipt and reporting guide. Shopify’s custom pixel troubleshootinghelp.shopify.com

What do you save and run again after a fix?

Record the test region, choice, action, time and source ID. Note which pixel or app sent the action. After a fix, repeat all three runs with fresh sessions. Keep the banner choices and record any path you still can’t see. Compare the results with the settings you wrote down before the test. Shopify’s advice to audit the banner after a pixel changehelp.shopify.com · Crisper’s tracking audit checklist

Sources

10 sources
  1. 1Shopify’s privacy settings↩
  2. 2Shopify’s custom pixel settings↩
  3. 3How Shopify app pixels handle consent and replay↩
  4. 4Shopify’s Meta data sharing guide↩
  5. 5Shopify’s old pixel checklist↩
  6. 6Shopify’s test-mode limits↩
  7. 7Shopify’s test steps for app pixels↩
  8. 8Shopify’s test order guide↩
  9. 9Shopify’s custom pixel test steps↩
  10. 10Meta’s server testing notes↩