Integration with Analyzely
Overview
Integrate Pandectes GDPR Compliance with Analyzely (Google Analytics 4) so that your Shopify store sends consent through Google Consent Mode to the data layer Analyzely reads.
Steps for Integration
1. Enable Google Consent Mode in Pandectes
- In Shopify Admin, go to Apps > Pandectes GDPR > Integrations. On the Google Consent Mode card, click Configure.

- Turn on the Google Consent Mode toggle at the top of the page.

Leave Google Tag Manager ID, Google Analytics ID, and Google Ads ID empty: Analyzely loads Google Analytics itself.
2. Rename the dataLayer
Analyzely reads consent from a data layer called analyzelyDataLayer instead of the default dataLayer.
- On the same page, click Advanced settings at the bottom of the Configuration card.

- In Rename dataLayer property, enter
analyzelyDataLayer. - Click Save.
If Analyzely changes the name of its data layer in the future, update this field again.
3. Setup in Analyzely App
Within the Analyzely app, ensure that it is configured to receive data. This allows the app to correctly transmit data to Google using the GTag property.
4. Testing and Validation
After configuration, test the setup to ensure that data flows correctly from your website to Google Analytics via Analyzely, respecting the consent preferences set by your users. We have an article on how you can check the default dataLayer here but you will need to edit the presented code replacing the dataLayer with analyzelyDataLayer. An alternative way to check it is with Google Tag Assistant.

Conclusion
Following these steps will ensure that your Shopify store's use of Analyzely for Google Analytics 4 is compliant with GDPR regulations through the Pandectes GDPR Compliance app.
For more help, contact our support team via live chat or at [email protected].
Updated on: 27/10/2026
Thank you!
