How to verify Google consent mode on your Shopify store

By Philip Dematis · 10/16/2025 · 3 minutes read
how-to-verify-google-consent-mode-on-your-shopify-store
Many Shopify sites think they’ve implemented Google Consent Mode correctly, but a quick network check often says otherwise. Here’s a simple way to verify if your GA4 and Ads tags are respecting user consent - step by step.

If your Shopify store uses Google Analytics or Google Ads, you’ve probably heard about Google Consent Mode V2. It’s designed to help you stay compliant with privacy laws by letting Google know whether a user has given consent for cookies and tracking.

But here’s the catch: even if your cookie banner looks perfect, it doesn’t always mean consent mode is working. You might still be sending data to Google before the user agrees to it. The good news is that there’s a simple way to check - using your browser’s developer tools.

When a visitor lands on your website, Google’s tags (for GA4, Ads, etc.) start collecting data. Consent Mode acts like a messenger between your cookie banner and Google. It tells Google what the user allowed - for example, whether they accepted ads cookies, analytics cookies, or neither.

Here’s why this matters:

  • Without it, you may be sending personal data before the user consents.

  • You risk violating GDPR or other privacy laws.

  • Your analytics could be inaccurate because of how data is handled before and after consent.

In short, implementing Consent Mode properly keeps your tracking lawful and your reports trustworthy.

If you are using the native Google integration (Google sales channel), tags are not loaded before the user accepts the cookie banner.

However, if you are using a third-party or custom integration, or if you just want to double-check, follow these steps using Chrome:

  1. Open Chrome in Incognito mode.

  2. Visit your Shopify store, but don’t accept cookies yet.

  3. Right-click anywhere on the page and select Inspect.

  4. Go to the Network tab.

  5. In the search bar (Filter), type gcd=.

  6. Reload the page and wait for network activity.

  7. Look for any requests to domains like google.com or doubleclick.net.

  8. Click one, then open the Payload tab.

  9. Find the parameter named gcd and note its value.

That small parameter tells you how consent is being sent. If there are no requests with a gcd parameter, that’s a good sign - your site isn’t sending Google any tracking data before consent.

But if you do see it, it’s time to interpret what it means.

How to read the gcd value

This part looks technical, but it’s simpler than it sounds.

The gcd value contains a mix of numbers and four key letters that represent consent states. To decode it:

  • Remove all the numbers. You’ll be left with four letters.

  • Watch out for lowercase l (it can look like a 1).

  • If you see l anywhere, your site isn’t sending consent data correctly.

  • If you see p, q, m, or u, that means consent is denied, which is correct before cookie acceptance.

  • If you see t, r, n, or v, that means consent is granted, which is incorrect before the user agrees.

Example: 13l3l3l3l1 becomes llll after removing the numbers - meaning no consent data is being sent, which is an issue.

Once you’ve tested before accepting cookies, you can test again after acceptance:

  1. Click Clear in the Network tab to reset requests.

  2. Accept cookies on your site.

  3. Refresh the page.

  4. Check again for the new gcd value - it should change to reflect the new consent choices.

If the parameter looks wrong, it doesn’t always mean your entire setup is broken. The fix depends on how your site handles cookie banners and tags.

Here are a few next steps:

  • For Shopify stores: If you’re using Shopify’s built-in cookie banner (Settings → Customer privacy), it automatically blocks GA4 scripts until consent is given, as long as you’re using the native Google integration.

  • For third-party cookie apps: Contact the app provider or your developer to confirm that consent mode is fully implemented. Some apps handle this well, others need manual tweaks.

  • For custom setups: You may need to adjust the consent API calls (gtag('consent', ...)) in your theme or tag manager.

FAQ

1. Do I need Consent Mode if I already have a cookie banner? Yes. The banner collects consent from users, but Consent Mode communicates that consent to Google. Without it, Google tags don’t know the user’s choice.

2. What happens if I don’t implement it? You might send user data to Google without consent, which can create privacy compliance issues. This can affect your tracking, your ads, etc.

3. Can I test this without Chrome DevTools? There are some browser extensions that claim to help, but the Network tab gives the most accurate picture.

4. Does Consent Mode affect my Analytics data? Yes. When consent is denied, Analytics still records visits, but in a more privacy-safe, modeled way. Again - this is typical for custom integrations and not the native Shopify Google sales channel.

5. How often should I check this? Any time you change your banner, theme, or analytics setup, it’s good practice to verify Consent Mode again.

Final thoughts

Consent Mode isn’t just a technical checkbox. It’s a bridge between user privacy and data accuracy. For Shopify stores, it’s worth taking ten minutes to verify that everything works as intended. A quick test now can prevent much bigger compliance headaches later.

Share icon
Facebook logoX logoLinkedIn logo

More articles

Contact us

Start a project. Or ask us anything.

200+projects completed
100+Shopify clients
10+Shopify Plus clients
Shopify partners logoShopify Plus logo