Consent Mode Step 2: Assign Consent Requirements for your Client-Side tags
Learn how to make your GTM client-side tags adhere to your Cookiebot or OneTrust Consent rules.
Prerequisite:
Before you can assign Consent per Web Tag, you will need to:
- Enable Consent Mode in your Shopify source and your Pre-Built CMP Consent Tag [Instructions]
Step 1: In Google Tag Manager, Enable the Consent Overview
Tip: This step is not required, but GTM's Consent Overview feature allows you to assign consent needs to tags in bulk. If you don't enable this, you'll have to assign consent needs tag by individual tag.
Navigate to Admin > Container Settings
Under Additional Settings, select the checkbox next to Enable consent overview.
Step 2: Assign Consent Requirements Per Tags
You can assign consent requirements via 1 of 2 methods:
Option 1: Assign in Bulk with Consent Overview:
If you enabled GTM's Consent Overview, select the Shield Icon.
Select your desired tags > Then click the Shield/Gear Icon.
Choose whether the tags require consent or not. If consent is required, define what type of consent is needed for the tags to fire. [What does ad_storage & stuff mean?]
Option 2: Assign Individually
Select your desired tag.
Click the _Pencil Icon _to edit the tag.
Under Advanced Settings > Consent Settings > Choose whether the tags require consent or not.
If consent is required, define what type of consent is needed for the tags to fire. [What does ad_storage & stuff mean?]
Part 3: Publish & Remove Previous Cookiebot/OneTrust Script
When ready, push your new Consent Tracking live by selecting Submit > Publish.
Remove previous Cookiebot or OneTrust banner script. This may be located in the header of your Shopify Theme like shown below:
Next Up: Assign Consent Requirements for your Server-Side Destinations
Do not skip this step - your Server-Side Tracking won't adhere to your consent rules without this.
If you are setting GTM consent values from outside your GTM container, ensure you are setting these values on the purchase page, and checkout pages, not just in theme.liquid. You should ensure that the entire funnel has the correct consent values pushed from page view to purchase by running a test transaction.
Please follow step 3 in our setup guide:
Updated 2 days ago