Update Pandectes for Consent Mode V2

Overview

With the transition to using a custom pixel and GTM container, the integration approach for Google Consent Mode has evolved. Follow this guide to learn about the necessary updates to ensure compatibility with Google Consent Mode V2 and how to transition from using Pandectes' Google Consent Mode to leveraging the GTM container for better functionality.

Benefits of Using the GTM Container:

  • The GTM container allows you to pull consent values directly from cookies and ensures they are accessible on all relevant pages, including checkout and thank-you pages.
  • The GTM container template provided by Elevar integrates seamlessly with our script, ensuring accurate data collection and compliance.

Why This Change is Necessary:

  • Consistent Data Access: Pandectes' Google Consent Mode does not make consent values available in the checkout process due to its integration method.
  • Improved Compatibility: Using the GTM container ensures that consent values are correctly passed to and processed by your checkout and custom pixel scripts.

Disable Your Google Consent Mode (If Enabled)

Pandectes App Settings:

  • Navigate to your Shopify homepage and open the Pandectes App.
  • Locate and click on the "Settings" button.
    • (See Figure 1)

Step 1 screenshot

_Figure 1_

Access Integrations Settings:

  • Within the Pandectes App Settings, select the "Integrations" option.
    • (See Figure 2)

Step 2 screenshot

_Figure 2_

❗️

Note: Check if Google Consent Mode is listed as an integration.

  • Disable Google Consent Mode.
    • (Figure 3)

Figure 3

Transition and Update to the New GTM Container

If you are using Google Consent Mode via Pandectes, it is now advised to disable this integration. This means that you have set your default consent states using a tag inside Google Tag Manager (GTM). In addition to having Google Consent Mode disabled, you will need to update your template to account for changes with Consent Mode V2.

Download Pandectes:

  • Begin your Elevar homepage and use the left-hand menu to click on the "Pre-Built Tags" tab.
    • Use the search function to locate the Pandectes Tag.
    • Locate and click on the "Download Container" button.
      • (See Figure 4)
    • Once you download the pre-built container, import the tags in Google Tag Manager. How do I do this?

Step 1 screenshot

_Figure 4_

Assign Default Consent Status:

  • In your Pre-Built Consent Tags, there is a section where you can choose to allow certain cookies to fire before the shopper grants or denies consent.
  • Please select your desired default consent status before the user visitor provides a consent status. [What do these consent types mean?]
    • (See Figure 5)

Step 2 screenshot

_Figure 5_

Publish Changes in GTM:

  • Navigate to the Google Tag Manager homepage and click on the "Submit" button in the upper right-hand corner of the page.
  • An additional confirmation page will appear, click on the "Publish" button in the upper right-hand corner of the page.
    • (See Figure 6)

Step 3 screenshot

Figure 6

Confirm your consent now includes the new values:

  • The best way to check your defaults are to view in Google Tag Manager Preview Mode.
  • After Making your updates, access Google Tag Manager and click on the "Preview" button in the upper right-hand corner of the page.
    • (See Figure 7)

Figure 7

Connect Tag Assistant:

  • A new window will appear in which you need to enter your website URL.
  • Once you have entered your URL, click on the "Connect" button at the bottom of this section.
    • (See Figure 8)
  • Your site will load and you'll want to return to the preview tab to confirm your consent defaults and consent updates.

Figure 8

Confirm Consent Default Values:

  • Follow these steps to confirm the defaults have been set.
    • Click on the first "Consent" event in the left column, the lowest number and lowest in the list.
    • Click on the Consent Tab
    • Review the values in the On-page Default column. You are looking to see values for all the consent types and specifically the updates for consent mode V2 you will see the addition of ad_user_data and ad_personalization
      • (See Figure 9)
  • If you are seeing ad_personalization and ad_user_data like below your defaults are now updated for consent mode v2!

Figure 9

Confirm Consent Update Values:

  • Next, we will confirm your consent update values if available. If your banner displays for your region, accept or deny your consent.
    • You will want to select the most recent Consent event that was triggered by your update. You are looking to see that you now have values for all the consent types in the On-page Update column.
    • Specifically the change for consent mode v2 is that you have values for ad_user_date and ad_personalization
      • (See Figure 10)
  • If you are seeing ad_personalization and ad_user_data like below you are all set for consent mode v2!

Figure 10

👍

Still have questions, concerns, or lack confidence in your updates? We've got you covered!

Reach out to our support team to have them review your updates.