Integrate with Google Consent Mode
Google Consent Mode allows your Google tags (Analytics, Ads, etc.) to adjust their behavior based on the consent status of your visitors. This integration ensures that Google services respect visitor consent choices.
Upload Integration Script
Upload the integration file to your Shopify theme:
- Go to Shopify Admin > Online Store > Themes > Actions > Edit Code.
- In the Assets folder, click Add a new asset.
- Upload the file
avada-cookiebar-gcm-integration.js. - Open your
theme.liquidfile. - Add the following script tag in the
<head>section, before your GTM or Google Analytics script:
<script src="{{ 'avada-cookiebar-gcm-integration.js' | asset_url }}" defer></script>
For existing users: If you have an older version of the integration file, delete the old avada-cookiebar-gcm-integration.js from your Assets folder first, then upload the new version.
Turn On Google Consent Mode
In the Avada Cookie Consent app, navigate to Integrations > Google Consent Mode V2 and click Turn on to enable the integration.

Once enabled, Google Consent Mode V2 will automatically set consent signals (ad_storage, analytics_storage, ad_user_data, ad_personalization) based on visitor consent choices.