You can download Pandectes GDPR Compliance from the Shopify App Store and change your app settings through Shopify Admin > “ Apps ” (left-side tab).
Account Actions
Download the “Pandectes GDPR Compliance” app by Pandectes from Shopify’s App Store and activate it. Make sure you choose a plan above Basic (Plus, Premium, or Enterprise).
Activate cookie consent banner.
Only select strict options to be GDPR compliant.
Lastly, head back to the app's dashboard, and click "Online Store 2.0 support" > "View Instructions". Here, make sure that the switch is turned ON.
Warning: There are two types of setups in Pandectes,
- Old version: Pre-Online Store 2.0
- New version: Post-Online 2.0
Although the two versions are basically the same, the only difference is that Online 2.0 doesn't support the Google Consent Mode feature. Thus, Analyzify needs Google Consent Mode to work in compliance with GDPR. That's why we need to have an old version of Pandectes (Pre-Online 2.0).
You can select the location where the banner will be shown under the Geolocation.
Theme Actions
If you have set up the Analyzify app before, you need to do some changes to some of the existing codes first. Let’s go over them together.
Head to your Shopify Admin page > “Online Store” > “Themes”. Then, click “Actions” on your current theme, and “Edit code”.
Make sure the “{% include "pandectes-rules" %}” line is in the theme.liquid
For Shopify Plus stores , this action also needs to be done in the “checkout.liquid” file. (If you can’t see the checkout files, then this means they are not activated. Activate them first, then check the code.)
After you are done, head to "Online Store" > "Customize", and click "App Embeds" to make sure that the "Pandectes Core" switch is turned OFF .
Warning: There are two types of setups in Pandectes,
- Old version: Pre-Online Store 2.0
- New version: Post-Online 2.0
Although the two versions are basically the same, the only difference is that Online 2.0 doesn't support the Google Consent Mode feature. Thus, Analyzify needs Google Consent Mode to work in compliance with GDPR. That's why we need to have an old version of Pandectes (Pre-Online 2.0).
GTM Container Actions
Open the Analyzify app, head to the “Analyzify GTM Container” step in the Setup phase, and download the related JSON file by clicking on the “Download My GTM Container (GDPR Enabled)” button.
Head to your GTM account and open the GTM container you’ve used in the {{GTM Container ID}} field. Click “Admin” > “Import Container”.
Click on “Choose container file” and select the JSON file you’ve just downloaded. Choose “New” as your workspace and name it as you wish (we used “Analyzify GDPR” for the title 🙂 ).
Lastly, choose “Merge” as your import option, and choose “Overwrite conflicting tags, triggers, and variables.”.
Once you see a report for your tags and all the rest, click “Confirm”.
Choose your new workspace from the main menu, then head to “Admin” > “Container Settings”. At the end of the page, click on “Enable consent overview” under the “Additional Settings”. Don’t forget to SAVE !
Click back to “Workspace”, then on the left-side menu, click “Folders” > ”#00 - Settings & User Values”. Make sure the values in these variables are correct, and if they are not, enter the correct values. Be extra careful to double-check the values in:
- constant - Google Analytics 4 (GA4) Measurement ID (G-)
- constant - Google Ads - Purchase - Conversion Label
- constant - Google Ads Account ID / Conversion ID
Open GTM’s “Preview” mode, enter your website’s URL and view your website. If the Pandectes popup appears and no GTM tags are being fired then everything is a-okay! In some cases “099.03 - Utilities - Persist Campaign Data” may fire when you select nothing or deny cookies, but it is still ok. It does not send any data.
You can now submit the changes on your container by clicking “Publish”.
After you publish, you’ll see a popup banner saying “A new container version is available”. Click on “Update Workspace” on the banner, then select “Update ”, and you can make this new workspace your default workspace.
GTM records all the changes you make on your container as a new version. So if you run into any problems, you can always choose an old version under the “Versions” tab on the main menu and contact our support team for further help.