← All tracking problems

Shopify Pixel Helper and consent

Pixel is awaiting consent: why your pixel does not load in Shopify

When you test a pixel in Shopify, the Shopify Pixel Helper sometimes shows “Pixel is awaiting consent”. That is not automatically an error. According to Shopify, in markets that require consent, web pixels run only once the visitor has given the permissions the pixel needs. It gets tricky when the message stays after a click on “Accept” or when real visitors never reach your pixel. Here you go through the causes in the order in which you can check them fastest. Enter your shop’s address below. You see usually within one to two minutes which pixels your shop loads. You can also check it yourself, the steps are further down. Enter address

How you notice

  • The Shopify Pixel Helper shows “Pixel is awaiting consent”.
  • You clicked “Accept” in the cookie banner, but the pixel stays silent.
  • The pixel has the status “Connected” in Customer events, yet no events appear in the Pixel Helper.
  • The pixel runs on product pages, but not on the order status page.
  • A newly installed app pixel does not load in the test.

Only check websites you own or where the operator has allowed it. By starting the check you confirm this. What happens during the check?

Free, no account, usually within one to two minutes. We change nothing on your shop. We delete the result and the address after one hour. Privacy Policy

The check shows one page at one point in time. It does not see purchases or your ad account.

Common causes

The visitor has not consented yet

In markets that require consent, such as the EEA and the United Kingdom, web pixels run according to Shopify only when the visitor has given the permissions the pixel requires. For new custom pixels these are Marketing and Analytics by default. For app pixels, according to Shopify’s developer documentation, Shopify replays the events already registered on the page once consent is given. Checkable: the message disappears when you consent in your store’s cookie banner.

The pixel requires more than the visitor allowed

Every pixel sets which permissions it needs. For a custom pixel you set this yourself, for an app pixel the app’s developer sets it and you cannot change it. If the visitor allowed only part of it in the banner, a permission may be missing. Checkable: for a custom pixel it is in the “Customer privacy” section under “Permission” (not to be confused with “View permissions”). For an app pixel click the “More options” icon (three dots) on the “App pixels” tab and choose “View customer privacy”.

The banner app does not report consent to Shopify

If you use the banner of a third-party app, it has to report the decision to Shopify through the Customer Privacy API, according to Shopify. If it does not, pixels may not start even after consent. Checkable: consent in the banner, open the developer tools (F12) and there the “Console”. Enter window.Shopify.customerPrivacy.currentVisitorConsent(). According to Shopify the call returns an object with marketing, analytics, preferences and sale_of_data, each “yes”, “no” or an empty value when nothing has been decided yet.

The regions in Shopify and in the banner app do not match

According to Shopify you should choose the same consent regions in Shopify’s privacy settings and in your banner app’s settings. If they do not match, non-essential data can be processed before consent, according to Shopify. That describes the opposite direction of this message. An inference that Shopify does not state in this form: if your store shows no banner in a region where Shopify requires consent, a pixel there can wait for a consent nobody can give. Checkable: compare the regions in both settings country by country.

The customer account domain does not fit the store domain

If your store uses a custom domain, according to Shopify the customer account domain also has to be a subdomain of your store domain, for example account.example.com. Otherwise pixels and cookie consent do not work on the new order status page, because the domain has to be the same as the one where consent is collected. Checkable: if the pixel runs in the store but not on the order status page, look at the address of your customer account pages. The address should belong to your store’s domain.

The visitor opted out of data sale

A pixel that counts as a data sale does not run according to Shopify for visitors who opted out of the sale or sharing of their data, unless the pixel supports limited data use. New custom pixels count as a data sale by default. This only matters in regions where the opt-out is set up, so it is rather rare for a store selling only in the EU. Checkable: for a custom pixel the setting is in the “Customer privacy” section under “Data sale”. In the console sale_of_data then shows “no”.

What it can come down to in your shop

  • Shopify: You open the Shopify Pixel Helper under “Settings”, “Customer events” via “Test”. There you see whether the pixel is waiting for consent.
  • Shopify: If your store requires consent in your region, web pixels run according to Shopify only once the pixel’s permissions are given.
  • Shopify: A banner app has to report consent to Shopify through the Customer Privacy API.

Check it yourself, step by step

  1. 01In Shopify open “Settings”, “Customer events”. A custom pixel must have the status “Connected”. App pixels are on the “App pixels” tab.
  2. 02Open the custom pixel with “Test”. For app pixels click the “More options” icon (three dots) next to the pixel and then “Test”. You can run a test for only one custom pixel at a time. If the Pixel Helper shows “Pixel is awaiting consent”, consent in your store’s cookie banner.
  3. 03Shopify lists the button “Give consent to continue test” as a way to continue the test. It says nothing about whether your banner reports consent to Shopify for real visitors. So also test with a click in the banner, the way a visitor makes it.
  4. 04Open your store, consent in the banner and enter window.Shopify.customerPrivacy.currentVisitorConsent() in the console of the developer tools. You get an object with marketing, analytics, preferences and sale_of_data. If marketing or analytics still shows an empty value after your consent, Shopify may not have received the decision. If the console says “undefined”, this interface is not loaded on the page. Then ask the provider of your banner.
  5. 05Under “Settings”, “Customer privacy”, “Cookie banner” check which regions Shopify’s banner applies to. If you use a banner app, compare these regions with those in the app.
  6. 06To reset the banner, clear your browser’s cookies. On the next visit the banner appears again and you decide anew.

How to fix it

  • If only the consent is missing, nothing is broken. According to Shopify, web pixels in markets with consent run only after consent.
  • If you use a banner app, ask the provider whether it syncs consent with Shopify through the Customer Privacy API. Tell them what the console shows on your store.
  • Your banner app has to cover every region where Shopify requires consent. If one is missing, add it in the app. Do not remove a region from Shopify just to make the message go away.
  • If your store uses a custom domain, move the customer account domain to a subdomain of your store domain, for example account.example.com. How that works is in the Shopify Help Center on custom domains for customer account pages.
  • Change the “Permission” and “Data sale” settings of a custom pixel only together with your data protection adviser. Lowering them to make the message go away is not a fix. You cannot change an app pixel, the app’s developer helps there.
  • After every change, test again like a visitor: clear cookies, decide again in the banner and open the Pixel Helper.

Whether your pixel has to require consent is not something Trackneat judges. Trackneat is not affiliated with Shopify. The names appear here only to make clear what is meant.

Let it be checked automatically

The free check opens your store like a visitor and shows which pixels and tracking tags load before consent and after “Reject”. The check cannot see the status in the Shopify Pixel Helper or the settings in the Shopify admin.

Trackneat writes to you as soon as this problem happens again. During the trial we check morning and evening (8 am and 8 pm). On a plan we check every 4 hours.

Start trial

14 days free

What else Trackneat checks

Common questions

Tracking fires before cookie consent

Tracking on the thank you page is missing: additional scripts no longer run