Hi! I am working on launching an affiliate program for our brand using Impact.com, integrating that app with our Shopify store. The traffic tags are working through GTM, but the conversion event (online sale) is not correctly firing the pixel. Once we get to the Shopify checkout page and place an order (originating from the Impact.com testing link), the pixel for the conversion event is not firing. We can see that the checkout is completed when inspecting the element coding of the page, but when checking console, there are multiple error messages relating to Shopify customer privacy and consent.
This is what Shopify Support told us:
“I’m here to confirm that the problem is indeed on our side and relates to cookie handling. After careful examination, it appears that the challenge stems from how Shopify manages cookie consent, which is essential for the tracking functionalities, such as the Impact.com pixel. Specifically, the window.Shopify.customerPrivacy.userCanBeTracked() function is not returning the expected results. This can prevent the pixel from firing correctly during the checkout process, often linked to user consent settings that comply with privacy regulations.”
They didn’t have a solution for us and recommended I post on here.
To clarify, are you saying that none of those steps should be necessary if we have the Shopify native banner enabled? We have it set to automated but that didn’t resolve the issue.
correct, the impact app should comply to normal Shopify banner consent rules. It will also place it’s own tagging and including on orders. They place details on orders in custom properties that they then pull with the API to do attribution.
The gtm version isn’t need with the app.
Hm… then how does that explain the Impact app being integrated with our Shopify store, and yet there is still an error relating to user tracking consent preventing the pixel from firing?
Shopify apps can define their web pixel privacy requirements in a settings file:
You can ask impact how they set up the privacy settings for their pixel. Depending on the settings and the consent that was provided by the website user, Shopify will or will not fire the app’s web pixel.
For example if the app sets
analytics = true
Shopify will not fire the web pixel if the user hasn’t consented to analytics (in a consent opt-in region) or Shopify’s customer privacy API doesn’t return analytics as an allowed action:
Are you selling hydration products? Perhaps your problem is also elsewhere. Do you use a headless store?
Check that your storefront and your checkout run on the same root domain. If not you might run into cookie tracking issues because cookies from domain 1 are not accessible by domain 2 when users moves from your storefront/landing page domain (e.g. hydrationproducts.com) to the checkout domain (e.g. greathydration.myshopify.com).
These are 2 different domains and cookies set can’t be accessed by the other domain unless they are recreated by some custom script.
In addition myshopify.com is treated by browser as a shared domain and they decline setting cookies on that root domain (because it is shared by many businesses) but only under the fully qualified merchant domain (mystore.myshopify.com).