New: Pandectes in Claude & ChatGPT - ask your AI assistant about your cookie banner, scans and consent rates

New: Pandectes in Claude & ChatGPT See how it works

Pandectes Consent Event

Every time a visitor answers your cookie banner, Pandectes can push a consent event, Pandectes_Consent_Update, to the dataLayer. Google Tag Manager, Shopify custom pixels and your own scripts can listen for it and act on the visitor's choice, category by category. Read the guide.

Enable the Pandectes Consent Event

How it works

  1. Turn on the event

    In the app, open Integrations, tick Pandectes Custom Event and save.

  2. The banner pushes the event

    When a visitor accepts, rejects, changes or revokes consent, Pandectes pushes Pandectes_Consent_Update to the dataLayer, with the status of each cookie category.

  3. Your tags react

    Trigger tags in Google Tag Manager from the event, or subscribe to it in a Shopify custom pixel and run your own code.

The Pandectes Consent Event

One event, every consent choice

  • One event name, Pandectes_Consent_Update, for every banner interaction.
  • The status of each category: strictly necessary, functionality, performance and targeting.
  • An overall status: allow, deny, mixed or revoke.
  • Tells a new choice apart from one stored on an earlier visit.
  • Works with Google Tag Manager and with Shopify custom pixels.
  • Included in the Plus plan and above.

Frequently Asked Questions

What does the event contain?

Four fields. event is Pandectes_Consent_Update. pandectes_categories gives each category, C0000 (strictly necessary), C0001 (functionality), C0002 (performance) and C0003 (targeting), the value allow or deny. pandectes_status is allow, deny, mixed or revoke. pandectes_action says whether the consent is new or stored.

How do I use it with a Shopify custom pixel?

In Shopify admin, open Settings, then Customer events, and add a custom pixel. Set its permission to Not required, so it always runs, and subscribe to the event:

analytics.subscribe("Pandectes_Consent_Update", (event) => {
  // your code here, for example Google Tag Manager
});

Save and connect the pixel. The custom pixel guide has every step.

Can I rename the dataLayer?

Yes. The event is pushed to dataLayer by default, and you can give it another name to match your setup.

Which plans include it?

The Pandectes Consent Event is included in the Plus plan and above. See the plans.

Why merchants choose Pandectes

Privacy compliance that installs in minutes, keeps your store fast and grows with you.

185k+
stores installed Pandectes
3,000+
five-star reviews
17m+
consents recorded every day
35
privacy laws covered
  • Loved by Shopify merchants

    Built for Shopify, and one of the most installed and highest-rated privacy apps in the Shopify App Store.

    Built for Shopify5/53,000+
  • Fast at any scale

    From a first store to millions of visitors a day, with no slowdown for your shoppers.

  • Every privacy law

    GDPR, CCPA/CPRA, LGPD, PIPEDA, APPI and 30 more, with the right banner for each region.

  • A global cookie dictionary

    Every cookie on your store is matched to our database and categorised for you.

  • Proof of consent

    A downloadable record of every consent, ready if a regulator asks.

  • Real people, 24/7

    Our team answers by chat and email around the clock.

Make your Shopify Store's use of cookies and online tracking compliant today

Try for free

Recent Posts