Skip to main content
All CollectionsAnalytics
How cookie consent affects A/B test analytics and tracking on Shopify
How cookie consent affects A/B test analytics and tracking on Shopify
Kelly at ABConvert avatar
Written by Kelly at ABConvert
Updated over 2 weeks ago

At ABConvert, we help Shopify merchants run A/B tests by tracking key user events like Add to Cart, Checkout, and Page Views. These events are typically collected through client-side Shopify Web Pixels.

What happens when users decline cookies?

However, due to Shopify’s privacy policies and global data protection laws (such as GDPR, CCPA), if a visitor denies cookie consent in the store’s privacy banner, Shopify will automatically block tracking pixels. Which means:

  • Add to Cart events

  • Checkout events

  • Page View events

These events will not be tracked if the a visitor denies cookie consent.

How to handle this in your A/B test analysis?

If some users decline cookies, their actions (like adding to cart or checkout) will not be counted in the test results. However, order count remains 100% accurate because it is tracked directly from Shopify’s server-side webhook, which is not affected by cookie consent settings.

What should you focus on?

If you’re concerned about missing event data due to privacy settings, we recommend focusing on:

Order count – Tracked through Shopify’s server-side webhook

Revenue metrics – Compare AOV (average order value) and total revenue

These numbers are not impacted by Shopify’s tracking restrictions.

For any questions about tracking accuracy and privacy, feel free to contact our support team!

Did this answer your question?