CINXE.COM
How to check and interpret the consent cookie | Pandectes GDPR Compliance
<!DOCTYPE html><html lang="en" dir="ltr"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta property="og:locale" content="en"><meta property="og:site_name" content="Pandectes GDPR Compliance"><meta property="og:type" content="website"><link rel="icon" href="https://image.crisp.chat/avatar/website/d85cae7d-b8a0-4182-ba38-6d83860f700a/512/?1739879734766" type="image/png"><link rel="apple-touch-icon" href="https://image.crisp.chat/avatar/website/d85cae7d-b8a0-4182-ba38-6d83860f700a/512/?1739879734766" type="image/png"><meta name="msapplication-TileColor" content="#1972F5"><meta name="msapplication-TileImage" content="https://image.crisp.chat/avatar/website/d85cae7d-b8a0-4182-ba38-6d83860f700a/512/?1739879734766"><style type="text/css">*::selection { background: rgba(25, 114, 245, .2); } .csh-theme-background-color-default { background-color: #1972F5; } .csh-theme-background-color-light { background-color: #F3F6FB; } .csh-theme-background-color-light-alpha { background-color: rgba(243, 246, 251, .4); } .csh-button.csh-button-accent { background-color: #1972F5; } .csh-article .csh-article-content article a { color: #1972F5; } .csh-article .csh-article-content article .csh-markdown.csh-markdown-title[data-type="#"] { border-color: #1972F5; } .csh-article .csh-article-content article .csh-markdown.csh-markdown-code.csh-markdown-code-inline { background: rgba(25, 114, 245, .075); border-color: rgba(25, 114, 245, .2); color: #1972F5; } .csh-article .csh-article-content article .csh-markdown.csh-markdown-list[data-type]:before { background: #1972F5; }</style><title>How to check and interpret the consent cookie | Pandectes GDPR Compliance</title><script type="text/javascript">window.$crisp = []; CRISP_WEBSITE_ID = "d85cae7d-b8a0-4182-ba38-6d83860f700a"; CRISP_RUNTIME_CONFIG = { locale : "en" }; (function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})(); </script><!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-TF9WJN9S34"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-TF9WJN9S34'); </script> <script> console.dir(window.location.href); document.addEventListener("DOMContentLoaded", function() { if (window.location.href === "https://help.pandectes.io/en/") { console.dir('mpikame'); var mymeta = 'Learn how to use Pandectes GDPR Compliance with user manuals, how-to鈥檚, videos, and more! Navigate the Pandectes Knowledge Base to find help on every feature'; console.dir(mymeta); var meta = document.querySelector('meta[name="description"]'); if (meta) { console.dir('eixe meta'); } else { console.dir('den eixe meta'); meta = document.createElement('meta'); meta.name = "description"; meta.content = mymeta; document.getElementsByTagName('head')[0].appendChild(meta); } } }); </script><meta name="description" content="Learn how to check and interpret the consent cookie on your Shopify store with our detailed guide. Gain insights into managing user consent effectively."><meta property="og:title" content="How to check and interpret the consent cookie"><meta property="og:description" content="Learn how to check and interpret the consent cookie on your Shopify store with our detailed guide. Gain insights into managing user consent effectively."><meta property="og:url" content="https://help.pandectes.io/en/article/how-to-check-and-interpret-the-consent-cookie-lityyv/"><link rel="canonical" href="https://help.pandectes.io/en/article/how-to-check-and-interpret-the-consent-cookie-lityyv/"><link rel="stylesheet" href="https://static.crisp.help/stylesheets/libs/libs.min.css?c45d4110e422b65cceab2c63385a673c2" type="text/css"/><link rel="stylesheet" href="https://static.crisp.help/stylesheets/site/common/common.min.css?c55f0e421ab911de070a05a4f72887687" type="text/css"/><link rel="stylesheet" href="https://static.crisp.help/stylesheets/site/article/article.min.css?c969f7e5d49bbbee71282386999b95db4" type="text/css"/><script src="https://static.crisp.help/javascripts/libs/libs.min.js?c4c40240d758380f768a4c8b73cefc502" type="text/javascript"></script><script src="https://static.crisp.help/javascripts/site/common/common.min.js?cf0d6812f7bcf657ba9aacc75813bef6e" type="text/javascript"></script><script src="https://static.crisp.help/javascripts/site/article/article.min.js?c740fc3c9bf5f56b81acb05f35ad95bbf" type="text/javascript"></script></head><body><header role="banner"><div class="csh-wrapper"><div class="csh-header-main"><a href="/en/" role="none" class="csh-header-main-logo"><img src="https://storage.crisp.chat/users/helpdesk/website/1a5af239e847cf00/help_1msc50d.png" alt="Pandectes GDPR Compliance"></a><div role="none" class="csh-header-main-actions"><div data-expanded="false" role="none" onclick="CrispHelpdeskCommon.toggle_language()" class="csh-header-main-actions-locale"><div class="csh-header-main-actions-locale-current"><span data-country="gb" class="csh-flag"><span class="csh-flag-image"></span></span></div><ul><li><a href="/en/" data-current="true" role="none" class="csh-font-sans-medium"><span data-country="gb" class="csh-flag"><span class="csh-flag-image"></span></span>English</a></li></ul></div><a href="https://pandectes.io/" target="_blank" rel="noopener noreferrer" role="none" class="csh-header-main-actions-website"><span class="csh-header-main-actions-website-itself csh-font-sans-regular">Go to website</span></a></div><span class="csh-clear"></span></div><form action="/en/includes/search/" role="search" onsubmit="return false" data-target-suggest="/en/includes/suggest/" data-target-report="/en/includes/report/" data-has-emphasis="false" data-has-focus="false" data-expanded="false" data-pending="false" class="csh-header-search"><span class="csh-header-search-field"><input type="search" name="search_query" autocomplete="off" autocorrect="off" autocapitalize="off" maxlength="100" placeholder="Search our help center..." aria-label="Search our help center..." role="searchbox" onfocus="CrispHelpdeskCommon.toggle_search_focus(true)" onblur="CrispHelpdeskCommon.toggle_search_focus(false)" onkeydown="CrispHelpdeskCommon.key_search_field(event)" onkeyup="CrispHelpdeskCommon.type_search_field(this)" onsearch="CrispHelpdeskCommon.search_search_field(this)" class="csh-font-sans-regular"><span class="csh-header-search-field-autocomplete csh-font-sans-regular"></span><span class="csh-header-search-field-ruler"><span class="csh-header-search-field-ruler-text csh-font-sans-semibold"></span></span></span><div class="csh-header-search-results"></div></form></div><div data-tile="default" data-has-banner="false" class="csh-header-background csh-theme-background-color-default"></div></header><div id="body" class="csh-theme-background-color-light csh-body-full"><div class="csh-wrapper csh-wrapper-full csh-wrapper-large"><div class="csh-article"><aside role="complementary"><div class="csh-aside"><div class="csh-article-category csh-navigation"><a href="/en/category/faq-1vjj7j3/" role="link" class="csh-navigation-back csh-navigation-back-item"><span style="background-color: #1972f5;" data-has-category="true" class="csh-category-badge csh-font-sans-medium">FAQ</span></a></div><p class="csh-aside-title csh-text-wrap csh-font-sans-bold">Related articles</p><ul role="list"><li role="listitem"><a href="/en/article/how-to-uninstall-or-remove-our-application-in-shopify-1msasx3/" role="link" class="csh-aside-spaced csh-text-wrap csh-font-sans-regular">How to uninstall or remove our application in Shopify</a></li><li role="listitem"><a href="/en/article/how-to-use-google-fonts-locally-on-your-theme-1848tx4/" role="link" class="csh-aside-spaced csh-text-wrap csh-font-sans-regular">How to use Google Fonts locally on your theme?</a></li><li role="listitem"><a href="/en/article/the-banner-or-the-application-in-general-is-not-working-what-can-i-do-bxrs4y/" role="link" class="csh-aside-spaced csh-text-wrap csh-font-sans-regular">The banner or the application, in general, is not working, what can I do?</a></li><li role="listitem"><a href="/en/article/what-is-gdpr-and-why-do-you-need-to-be-compliant-1mngh45/" role="link" class="csh-aside-spaced csh-text-wrap csh-font-sans-regular">What is GDPR and why do you need to be compliant?</a></li><li role="listitem"><a href="/en/article/what-is-personal-data-in-shopify-mf3dzz/" role="link" class="csh-aside-spaced csh-text-wrap csh-font-sans-regular">What is personal data in Shopify?</a></li><li role="listitem"><a href="/en/article/how-to-maximize-your-consent-rate-yu9bf9/" role="link" class="csh-aside-spaced csh-text-wrap csh-font-sans-regular">How to maximize your consent rate</a></li><li role="listitem"><a href="/en/article/does-the-application-store-any-customer-data-7vb7d1/" role="link" class="csh-aside-spaced csh-text-wrap csh-font-sans-regular">Does the application store any customer data?</a></li><li role="listitem"><a href="/en/article/whats-the-difference-between-first-party-and-third-party-cookies-rb4fy1/" role="link" class="csh-aside-spaced csh-text-wrap csh-font-sans-regular">What鈥檚 the Difference Between First-Party and Third-Party Cookies?</a></li></ul></div></aside><div role="main" class="csh-article-content csh-article-content-split"><div class="csh-article-content-wrap"><article class="csh-text-wrap"><div role="heading" class="csh-article-content-header"><div class="csh-article-content-header-metas"><div class="csh-article-content-header-metas-category csh-font-sans-regular">Articles on:<span> </span><a href="/en/category/faq-1vjj7j3/" role="link">FAQ</a></div></div><h1 class="csh-font-sans-bold">How to check and interpret the consent cookie</h1></div><div role="article" class="csh-article-content-text csh-article-content-text-large"><span class="csh-markdown csh-markdown-bold csh-font-sans-medium">Learn how to check and interpret the consent cookie on your Shopify store with our detailed guide. Gain insights into managing user consent effectively.</span><br class="csh-new-line"/><br class="csh-new-line"/><h3 id="3-introduction" data-type="###" onclick="CrispHelpdeskCommon.go_to_anchor(this)" class="csh-markdown csh-markdown-title csh-font-sans-semibold">Introduction</h3><br class="csh-new-line"/><br class="csh-new-line"/>Our app is a critical application for Shopify stores, ensuring that user consent is obtained and recorded in compliance with GDPR regulations. This guide provides a step-by-step process to check and interpret the consent cookies stored by the app.<br class="csh-new-line"/><br class="csh-new-line"/><h3 id="3-step-1-locating-the-consent-cookie" data-type="###" onclick="CrispHelpdeskCommon.go_to_anchor(this)" class="csh-markdown csh-markdown-title csh-font-sans-semibold">Step 1: Locating the Consent Cookie</h3><br class="csh-new-line"/><br class="csh-new-line"/>When a user gives consent, the app stores this consent in a cookie named "_pandectes_gdpr." This cookie contains base64 encoded information about the user's consent.<br class="csh-new-line"/><br class="csh-new-line"/><h6 id="6-how-to-access-the-cookie" data-type="######" onclick="CrispHelpdeskCommon.go_to_anchor(this)" class="csh-markdown csh-markdown-title csh-font-sans-semibold">How to Access the Cookie</h6><br class="csh-new-line"/><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Open your web browser鈥檚 developer tools. This can usually be done by right-clicking on your website and selecting "Inspect" or pressing F12 or Ctrl+Shift+I on your keyboard.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Navigate to the 'Application' tab.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">In the left sidebar, under the 'Storage' section, click on 'Cookies' and select your website.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Look for the cookie named "_pandectes_gdpr."</span><br class="csh-new-line"/><br class="csh-new-line"/><h3 id="3-step-2-decoding-the-cookie" data-type="###" onclick="CrispHelpdeskCommon.go_to_anchor(this)" class="csh-markdown csh-markdown-title csh-font-sans-semibold">Step 2: Decoding the Cookie</h3><br class="csh-new-line"/><br class="csh-new-line"/>The value of the "_pandectes_gdpr" cookie is base64 encoded. To decode it:<br class="csh-new-line"/><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Copy the value of the "_pandectes_gdpr" cookie.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Open the console tab in your developer tools.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Type <span class="csh-markdown csh-markdown-code csh-markdown-code-inline csh-font-code-regular">window.atob("COPIED_COOKIE_VALUE")</span> and press Enter.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">The console will display the decoded value.</span><br class="csh-new-line"/><br class="csh-new-line"/><h3 id="3-step-3-interpreting-the-decoded-value" data-type="###" onclick="CrispHelpdeskCommon.go_to_anchor(this)" class="csh-markdown csh-markdown-title csh-font-sans-semibold">Step 3: Interpreting the Decoded Value</h3><br class="csh-new-line"/><br class="csh-new-line"/>The decoded value of the cookie will be in the following format:<br class="csh-new-line"/><br class="csh-new-line"/><pre data-copied="false" class="csh-markdown csh-markdown-code csh-markdown-code-block csh-text-wrap csh-text-wrap-break csh-font-code-regular csh-markdown-code-copy"><span role="none" onclick="CrispHelpdeskCommon.copy_code_clipboard(this)" class="csh-markdown-code-clipboard"></span><code class="language-none">id: "UNIQUE_CONSENT_ID" preferences: DECIMAL_VALUE status: "allow" / "deny" / "custom" timestamp: TIMESTAMP</code></pre><br class="csh-new-line"/><br class="csh-new-line"/><h6 id="6-understanding-the-fields" data-type="######" onclick="CrispHelpdeskCommon.go_to_anchor(this)" class="csh-markdown csh-markdown-title csh-font-sans-semibold">Understanding the Fields</h6><br class="csh-new-line"/><br class="csh-new-line"/><span data-type="1" class="csh-markdown csh-markdown-list"><span class="csh-markdown csh-markdown-bold csh-font-sans-medium">ID</span>: This is the unique consent ID assigned to the user鈥檚 consent.</span><br class="csh-new-line"/><span data-type="2" class="csh-markdown csh-markdown-list"><span class="csh-markdown csh-markdown-bold csh-font-sans-medium">Preferences</span>: This is a decimal value (ranging from 0 to 7) representing a 3-bit bitwise value. Each bit corresponds to a category of consent:</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Bit at position 0 (least significant bit): Functionality.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Bit at position 1: Performance.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Bit at position 2 (most significant bit): Targeting.</span><br class="csh-new-line"/><span data-type="3" class="csh-markdown csh-markdown-list"><span class="csh-markdown csh-markdown-bold csh-font-sans-medium">Status</span>: Indicates the consent status:</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Allow: All categories are accepted.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Deny: All categories are declined, except for strictly required cookies.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">Custom: The visitor has accepted some but not all categories.</span><br class="csh-new-line"/><span data-type="4" class="csh-markdown csh-markdown-list"><span class="csh-markdown csh-markdown-bold csh-font-sans-medium">Timestamp</span>: The Unix timestamp indicating when the consent was given.</span><br class="csh-new-line"/><br class="csh-new-line"/><h6 id="6-decoding-the-preferences" data-type="######" onclick="CrispHelpdeskCommon.go_to_anchor(this)" class="csh-markdown csh-markdown-title csh-font-sans-semibold">Decoding the Preferences</h6><br class="csh-new-line"/><br class="csh-new-line"/>Each bit in the preferences value represents the user鈥檚 consent for a specific category. A bit set to 1 means consent is rejected for that category. For example:<br class="csh-new-line"/><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">A value of 0 (binary 000) means consent is given for all categories.</span><br class="csh-new-line"/><span data-type="*" class="csh-markdown csh-markdown-list">A value of 5 (binary 101) means consent is rejected for Functionality and Targeting, but given for Performance.</span><br class="csh-new-line"/><br class="csh-new-line"/><h3 id="3-conclusion" data-type="###" onclick="CrispHelpdeskCommon.go_to_anchor(this)" class="csh-markdown csh-markdown-title csh-font-sans-semibold">Conclusion</h3><br class="csh-new-line"/><br class="csh-new-line"/>Understanding and interpreting the consent cookies set by the app is essential for Shopify store owners. By following these steps, store owners can ensure they are correctly reading and respecting the consent preferences of their visitors, maintaining compliance with GDPR.<span class="csh-markdown csh-markdown-line csh-article-content-separate csh-article-content-separate-top"></span><p class="csh-article-content-updated csh-text-wrap csh-font-sans-light">Updated on: 19/12/2024</p><span class="csh-markdown csh-markdown-line csh-article-content-separate csh-article-content-separate-bottom"></span></div></article><section data-has-answer="false" role="none" class="csh-article-rate"><div class="csh-article-rate-ask csh-text-wrap"><p class="csh-article-rate-title csh-font-sans-medium">Was this article helpful?</p><ul><li><a href="#" role="button" aria-label="Yes" onclick="CrispHelpdeskArticle.answer_feedback(true); return false;" class="csh-button csh-button-grey csh-button-small csh-font-sans-medium">Yes</a></li><li><a href="#" role="button" aria-label="No" onclick="CrispHelpdeskArticle.answer_feedback(false); return false;" class="csh-button csh-button-grey csh-button-small csh-font-sans-medium">No</a></li></ul></div><div data-is-open="false" class="csh-article-rate-feedback-wrap"><div data-had-error="false" class="csh-article-rate-feedback-container"><form action="https://help.pandectes.io/en/article/how-to-check-and-interpret-the-consent-cookie-lityyv/feedback/" method="post" onsubmit="CrispHelpdeskArticle.send_feedback_comment(this); return false;" data-is-locked="false" class="csh-article-rate-feedback"><p class="csh-article-rate-feedback-title csh-font-sans-bold">Share your feedback</p><textarea name="feedback_comment" cols="1" rows="1" maxlength="200" placeholder="Explain shortly what you think about this article. We may get back to you." onkeyup="CrispHelpdeskArticle.type_feedback_comment(event)" class="csh-article-rate-feedback-field csh-font-sans-regular"></textarea><div class="csh-article-rate-feedback-actions"><button type="submit" role="button" aria-label="Send My Feedback" data-action="send" class="csh-button csh-button-accent csh-font-sans-medium">Send My Feedback</button><a href="#" role="button" aria-label="Cancel" onclick="CrispHelpdeskArticle.cancel_feedback_comment(); return false;" data-action="cancel" class="csh-button csh-button-grey csh-font-sans-medium">Cancel</a></div></form></div></div><div data-is-satisfied="true" class="csh-article-rate-thanks"><p class="csh-article-rate-title csh-article-rate-thanks-title csh-font-sans-semibold">Thank you!</p><div class="csh-article-rate-thanks-smiley csh-article-rate-thanks-smiley-satisfied"><span data-size="large" data-name="blushing" class="csh-smiley"></span></div><div class="csh-article-rate-thanks-smiley csh-article-rate-thanks-smiley-dissatisfied"><span data-size="large" data-name="thumbs-up" class="csh-smiley"></span></div></div></section></div></div></div></div></div><footer role="contentinfo"><div class="csh-footer-ask"><div class="csh-wrapper"><div class="csh-footer-ask-text"><p class="csh-footer-ask-text-title csh-text-wrap csh-font-sans-bold">Not finding what you are looking for?</p><p class="csh-footer-ask-text-label csh-text-wrap csh-font-sans-regular">Chat with us or send us an email.</p></div><ul class="csh-footer-ask-buttons"><li><a aria-label="Chat with us" href="#" role="button" onclick="CrispHelpdeskCommon.open_chatbox(); return false;" class="csh-button csh-button-accent csh-button-icon-chat csh-button-has-left-icon csh-font-sans-regular">Chat with us</a></li><li><a aria-label="Send us an email" href="/cdn-cgi/l/email-protection#87f4f2f7f7e8f5f3c7f7e6e9e3e2e4f3e2f4a9eee8" role="button" class="csh-button csh-button-accent csh-button-icon-email csh-button-has-left-icon csh-font-sans-regular">Send us an email</a></li></ul></div></div><div class="csh-footer-copyright csh-footer-copyright-separated"><div class="csh-wrapper"><span class="csh-footer-copyright-brand"><span class="csh-font-sans-regular">漏 2025</span><img src="https://storage.crisp.chat/users/helpdesk/website/1a5af239e847cf00/pandectes_1pwsj61.png" alt="Pandectes GDPR Compliance"></span></div></div></footer><script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script></body></html>