Using Mandatly Community Template (Recommended)
Please adhere to the following Google Consent Mode settings in the Mandatly community template to align with the consent preferences established by the Mandatly Cookie Banner. Proceed to configure these settings to ensure proper data handling.
- Login to your GTM account.
- Navigate to Tags -> Add New.
- Click on Choose a tag type to begin setup -> Discover More tag types in the Community Template Gallery.
- Search and Select the Mandatly CMP Template -> Add to workspace.
- Copy your Website GUID from Mandatly CMP account and paste it in Website GUID field.
How to get Website GUID from Mandatly account? - Ensure that the “Enable Google Consent Mode” toggle is on.
- "Execute Google Tags Before Consent" activates Advanced Consent Mode, allowing default consent tags to fire as soon as your website loads.
If you disable this option, Basic Mode will be used, meaning default consent tags won’t execute until a user interacts with a consent banner. To become compliant to Google Consent Mode while using Basic Mode, you need to Block the third-party cookies and tags by mapping them with the Mandatly Custom events using Google Tag Manager. Click here for more information on blocking tags and third-party cookies before consent. In Basic Mode, consent type signals are not dropped before user consent. - Set the Default Consent Settings region wise or globally as per your specific requirements.
- Wait for update (milliseconds): Specifies a millisecond value to control how long to wait before data is sent. Used with consent tools that load asynchronously.
Pass ad click information through URLs (url_passthrough): When a visitor lands on an advertiser's website after clicking an ad, information about the ad might be appended to the landing page URLs as a query parameter. To improve conversion accuracy, Google tags usually store this information in first-party cookies on the advertiser's domain.
However, if ad_storage is denied, Google tags won't save this information locally. To improve ad click measurement quality in this case, advertisers can optionally pass ad click information through URL parameters across pages using a feature called URL passthrough. Read More
Redact ads data (ads_data_redaction): To redact your ads data when ad_storage is denied, set ads_data_redaction to true. When ads_data_redaction is true and ad_storage is denied, ad click identifiers sent in network requests by Google Ads and Floodlight tags will be redacted. Read More
Note: "Enable Google Consent Mode" and "Execute Google Tags Before Consent" settings will overwrite Mandatly Application settings. |
- Select Consent Initialization - All Pages in Triggering to trigger this tag on all the pages.
- Click the Preview button to test the Google Consent Mode implemented with the Mandatly Banner, ensuring that all changes are functioning correctly.
- Once verified, click on the Submit button to publish the changes on your website.
- Refresh your website to watch the changes in effect.
- To validate your GCM configuration, you can click on the Validate GCM Configuration button. It will display the errors found if any during the GCM validation.
You have successfully implemented Google Consent Mode v2.
Next Method:
Relevant Resources: