Elevar integration for Consentmo GDPR app
This article is tailored to address Shopify merchants who use the Consentmo GDPR app for their cookie banner and are interested in using Elevar Tagging and Tracking Management.
Consentmo’s functionality ensures that all the tags of your Google Tag Manager are set up to activate only after your store visitors give their consent. This is possible thanks to the implementation of Google Consent Mode V2.
Integration Steps
- Open Shopify Admin.
- Click on Online Store link in the left menubar.
- Click on the Actions dropdown button and select Edit Code from there.
- A new page will open with a list of files on the left side of the screen.
- Create a new liquid file in the **Snippets **section of the theme files, called
gcm-integration-script
- After that copy the content of the integration script provided below and paste it in the newly created Snippet file:
- Open the
theme.liquid
file.
- Locate the opening
<head>
tag and right after it, add the following line of code:
<!-- Google Consent Mode V2 Consentmo -->
{% render 'gcm-integration-script' %}
<head>
tag as the Google Consent Mode needs to be executed before the other tracking services (Google Tag Manager, Google Ads, etc.).A reference on the process can also be checked here:
- The final result should look like this:
Once this is done, the integration of the Google Consent Mode with our app will be successfully set in your store.
You can also refer to the article below from Elevar's end which also contain some more details on the integration and how it can be tested:
Need help?
In case you need any assistance, please make sure to reach out to our support team via live chat or at support@consentmo.com
Updated on: 05/06/2025
Thank you!