> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.pandectes.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Pandectes Custom Event

Learn how to use Pandectes custom events to enhance your Shopify store’s tracking capabilities. Follow our guide for detailed setup and implementation steps.

### Custom consent event

By enabling the custom consent event, you can take advantage of the consent information. 

The event is pushed in the dataLayer property. (The dataLayer property can also be modified to any desired name) 

Some detailed information about this event are listed below.

Event name: **Pandectes_Consent_Update**

Categories mapping:

* **C0000**: Strictly necessary
* **C0001**: Functionality
* **C0002**: Performance
* **C0003**: Targeting

Allowed values:

* **event_status**: allow, deny, mixed, revoke
* **category_status**: allow, deny

A sample code of this event is the following:

```
{ "event": "Pandectes_Consent_Update", "pandectes_status": "", "pandectes_categories": { "C0000": "allow", "C0001": "", "C0002": "", "C0003": "", }, "pandectes_action": "stored"}
```
