Articles on: Settings
This article is also available in:

Does the app work on headless stores?

Overview


Yes. Pandectes works on headless and custom Shopify storefronts, such as Hydrogen, Next.js or a frontend you build yourself on the Storefront API. Instead of the theme app embed, you add the Pandectes scripts to your storefront. The banner collects consent and passes it to Shopify's Customer Privacy API, which applies it to Shopify analytics, pixels and checkout.


The cookie banner (legacy or new) and the EU Withdrawal, Customer data requests, Do not sell my data and Cookies declaration pages all have headless snippets.


Before you start


  • Turning on custom storefront support needs the Premium plan.
  • The install snippets and the Access token & domains settings need the Enterprise plan.


Turn it on


  1. Go to Shopify Admin > Apps > Pandectes GDPR Compliance > All settings and open Custom/Headless support.
  2. Click Enable.
  3. Copy the snippets the page shows into your storefront.


On Hydrogen 2026.10 or later, Hydrogen's ShopifyScripts loads Shopify's consent tooling for you. Skip the consent-tracking-api tag in the snippets and set ShopifyScripts to custom-banner mode, as described in the setup guide. You do not need the access token or domains.


For step-by-step setup on each framework, see Custom storefront.



Updated on: 13/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!