Implementing Basic and Advanced Consent Mode Using TRUENDO's No-Code Solution

This guide will walk you through the process of implementing Basic Consent Mode using TRUENDO's console-based no-code implementation. Additionally, it will explain how to enable Advanced Consent Mode for Google-based services by adjusting settings within the TRUENDO Console.

Google relevant documentation: https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced


Prerequisites#

Before you begin, ensure that you have completed the following:

  • TRUENDO Account: You have a TRUENDO account. If not, sign up here.
  • Domain Setup: Your domain is set up within your TRUENDO account.
  • TRUENDO Integration: TRUENDO is integrated into your website. This typically involves adding the TRUENDO integration script to your site's <head> section.

Google Consent Mode provides two levels of operation:

  • Basic Consent Mode: When you implement consent mode in its basic version, you prevent Google tags from loading until a user interacts with a consent banner. This setup transmits no data to Google prior to user interaction with the consent banner.
  • Advanced Consent Mode: When you implement consent mode in its advanced version, Google tags load when a user opens the website or app.

Step 1: Log In to Your TRUENDO Account

Step 2: Navigate to the Banner Settings

  • Once logged in, locate the Banner option in the left-hand sidebar and click on it.

Step 3: Access Advanced Settings

  • In the Banner settings page, scroll down until you find the Advanced section.
  • Click on the dropdown arrow to expand the advanced settings.
  • Within the advanced settings, look for the section titled Google Consent Mode Without GTM Settings.
  • Hover your mouse over the current status indicator (which should show Disabled) in the Google Consent Mode Without GTM Settings section.
  • A pencil icon will appear. Click on the pencil icon to edit the settings.
  • A popup window will appear.
  • Toggle the switch to Enable the injection of Google Consent Mode scripts.
  • Important: By default, Google Consent Mode will not permit any data collection before user consent.
  • If you wish to allow certain categories of data to be collected before user consent is given, you can modify the default settings:

    • Toggle the Edit Default Consent Settings slider to On.
    • A list of consent categories will appear, each with a corresponding checkbox.
    • Select the categories you wish to grant consent for by default (e.g., Analytics Storage, Ads Storage).

      • Note: Enabling categories here means that data associated with these categories will be collected even before the user has given explicit consent.
  • After making your selections, click the Save button to confirm.

Step 8: Configure Wait for Update (ms)

  • When Edit Default Consent Settings is toggled on, an additional field titled Wait for Update (ms) will appear.
  • This field allows you to specify a time in milliseconds for Google Consent Mode to wait for a consent update before sending data.

    • Example: If you set this to 500, Google Consent Mode will wait up to 500 milliseconds for the user's consent decision before proceeding.
  • This setting helps manage situations where tags may fire before the consent status is updated, ensuring that data hits wait for the updated consent status.

Step 9: Save and Publish Your Changes

  • After configuring the settings, click Save in the popup window.
  • Back in the main Banner settings page, ensure that you click the Publish button at the top of the screen to apply your changes to your live site.

Step 10: Verify the Implementation

  • Visit your website to ensure that the TRUENDO banner is functioning correctly.
  • Check that Google Consent Mode is operating as expected, respecting the consent preferences you configured.

To enable Advanced Consent Mode, you need to adjust how specific Google services are handled within TRUENDO.

Step 1: Access the TRUENDO Services Section

  • In the TRUENDO Console, navigate to the Services section from the left-hand sidebar.

Step 2: Adjust Additional Identifiers for Google Services

  • Reason: Advanced Consent Mode requires that you remove all additional identifiers for Google services from being blocked by TRUENDO. This allows Google Consent Mode to manage these services effectively.
  • Steps:

    1. Find the Specific Google Service:

      • Locate the Google service you wish to adjust (e.g., Google Analytics, Google Ads).
    2. Edit the Service:

      • Click on the service to open its settings.
    3. Remove Additional Identifiers:

      • Within the service settings, find the Service Identifiers section.
      • You will see two types of identifiers:

        • Primary Identifiers: Essential for the service to function.
        • Additional Identifiers: Extra scripts or resources associated with the service.
      • Do not remove the primary identifiers.
      • Remove all Additional Identifiers by changing their status from Applied to Available:

        • Applied: Indicates that TRUENDO is actively blocking or managing the identifier.
        • Available: Means the identifier is present but not currently being applied by TRUENDO.
      • This action prevents TRUENDO from blocking these additional scripts, allowing Google Consent Mode to manage them instead.
    4. Save Changes:

      • After adjusting the identifiers, click Save to apply the changes.

Step 3: Publish the Changes

  • After making the adjustments:

    • Return to the main Services page or any other section.
    • Click the Publish button at the top of the screen to apply your changes to your live site.
  • After modifying the Google services in TRUENDO:

    • Visit your website.
    • Use your browser's developer tools to verify that Google services are now controlled by Google Consent Mode.
    • Check that data collection for these services adjusts appropriately based on user consent:

      • Before consent is given, Google Analytics should operate in a limited mode, collecting only anonymous data.
      • After consent is given, full data collection resumes.
  • Testing Tips:

    • Use an incognito/private browsing window to simulate a new user.
    • In the developer tools, monitor network requests to Google Analytics endpoints (e.g., collect, analytics.js).
    • Observe the behavior of cookies and local storage to confirm that data is being handled appropriately.

Conclusion#

Congratulations! You've successfully implemented Basic Consent Mode using TRUENDO's no-code solution and enabled Advanced Consent Mode for Google-based services. By removing all additional identifiers and leaving the primary identifiers intact, you've allowed Google Consent Mode to manage these services directly. Your website now leverages Google Consent Mode to handle user consent seamlessly, ensuring compliance with data protection regulations while maintaining valuable analytics and advertising functionalities.


Additional Information#

  • Important Considerations:

    • Data Privacy: Enabling data collection before consent (especially in Step 7 of Basic Consent Mode) should be done cautiously and in accordance with applicable data protection laws.
    • Service Management: Adjusting additional service identifiers ensures that Google Consent Mode can properly control Google services without interference from TRUENDO's blocking mechanisms.
  • Verifying Implementation:

    • Since Tag Assistant cannot be used without Google Tag Manager, use browser developer tools to monitor network requests and cookies.
    • Look for parameters like gcs=G111 in network requests, indicating that Google Consent Mode is active.
  • Publishing Changes:

    • Always remember to Publish your changes in the TRUENDO Console after making adjustments to ensure they take effect on your live site.
  • Support:

    • If you have any questions or encounter any issues, don't hesitate to reach out to our support team.
  • Advanced Configurations:


Ensuring Compliance and Optimal Functionality

By following this guide, you have configured your website to use Google Consent Mode effectively with TRUENDO CMP. This setup helps you balance compliance requirements with the need for valuable data insights, enhancing both user trust and business performance.


×