> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.consentmo.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Basic mode - Google Consent Mode V2

# Automatic GCM V2 integration for Basic Mode

Consentmo now provides the option to **automatically setup Google Consent Mode** and **integrate all Google services you are using** without having to add any additional code to your theme files.

## ✅ Requirements for Integration 

* **Subscription** to a **Premium plan** (Standard, Plus, or Enterprise).

* **Agree** to let **our app set up your Google services**.

|| ⚠️ NOTE: The following integration will only work properly if the Google services are added only via the Consentmo settings. If you have them running from any other 3rd party app, sales channel, or scripts in the theme, you need to remove them from there and have them running only via our app.

# Integration Steps

1. Navigate to **Consentmo's settings** and click on the **Integrations** tab in the left menu.

2. Go to **Google Consent Mode V2** section

3. After that, **Enable** the **Google Consent Mode V2** option

4. From the menu there, add your **Google services' IDs** in the fields **Google Tag Manager, Google Analytics**, and **Google Ads**

|| Note that you can add more than one ID in a field by separating them with a comma, without any spacing between them. Example: AW-123456,AW-987654

5. **Save** the changes

###### You can also check a reference on the process below:

${youtube}[Automated Google Consent Mode V2 Integration by Consentmo GDPR app (Basic mode)](SFUpnwB7pTg)


7. **(optional)** Change the additional settings if the default ones don't fit your store's requirements, from the next **Consent mapping** section there. More information on how this works and can be set, can be found here:

* [GCM V2 customization options](/en/article/gcm-v2-customization-options-137fv8c/)


# Basic mode - Manual GCM V2 Integration Steps 

## Step 1: Adding the integration script to your theme

1. Open **Shopify Admin**.

2. Click on **Online Store** link in the left menubar.

3. Click on the **Actions** dropdown button and select **Edit Code** from there.

4. A new page will open with a list of files on the left side of the screen.

5. Create a new liquid file in the **Snippets **section of the theme files, called `consentmo-gcmv2-basic-mode-integration`

6. After that copy the content of the integration script provided below and paste it in the newly created Snippet file:

| [Download](https://gdprstorage.b-cdn.net/faq/files/consentmo-gcmv2-basic-mode-integration-2025-06-05.zip) Google Consent Mode V2 - __Basic Mode__ Integration script

7. Open the `theme.liquid` file.

8. Locate the opening `<head>` tag and right after it, add the following line of code:

```javascript
<!-- Google Consent Mode V2 Consentmo -->
{% render 'consentmo-gcmv2-basic-mode-integration' %}
```

||| **Note**: The line of code should be placed right after the opening `<head>` tag as the Google Consent Mode needs to be executed before the other tracking services (Google Tag Manager, Google Ads, etc.).

In case you need help with the process, please refer to the following via guide as well:

${youtube}[Script placing for GCMV2 Basic Mode integration from Consentmo GDPR app](x1Tsmy8yxHs)

||| NOTE: ${color}[#2185e4](Make sure to remove the added code before deleting the app. This way, no snippets of code will be left in your theme. For more information on what you should be aware of when deleting our app check) [this article](/en/article/uninstalling-the-consentmo-app-1t7juar/) of our FAQ page.

## Step 2: Set Up Google Tag Manager Tags

This step consist of create a Trigger and setting up the consent setting for each tag. First, start by creating the Trigger: 

1. Click on the **Triggers** button on the left menu

2. Click on the **New** button > **Trigger Configuration** > **Custom Event**

3. In the field **Event name** write our app's event - `consent_status`

4. Make sure that **All Custom Events** is picked and click on the **Save **button to save the changes.

A reference on the process can be checked in the following video:

${youtube}[Creating Custom Trigger in Google Tag Manager for the GCM V2 - Basic mode for Consentmo GDPR app](Aar7I6pJTTk)

After creating the trigger you should setup the consent settings for each of your tags. In order to do that, click on the **Tags** button located on the left menu and follow these instructions for all of the tags that require consent:

* Open the tag's settings.

* Scroll down to the the **Additional Consent Checks** option, pick **Require additional consent for tag to fire** and in the field below it setup the required consent. (e.g. for Google Analytics tag - analytics_storage, for Google Ads tag - ad_storage, etc.).

* After setting up the required consent, scroll down to the **Triggering** section, **click on the plus icon** and **choose the trigger** we created (in our case the name of the trigger is Consentmo trigger.

* Click on the **Save **button to save the changes.

A reference on the process can be checked in the following video: 

${youtube}[Additional Consent Checks setup - GCM V2 - Basic Mode from Consentmo GDPR app](cV299PHtUxg)

|| NOTE: If your store has any Google services that are setup without Google Tag Manager, you should setup their IDs in the variable `googleServicesIDs` separated with a comma as shown in this example.

![](https://storage.crisp.chat/users/helpdesk/website/b07f7406951a4000/tags-added-basic-mode_wc8xui.png)

### More information on the **Basic Mode** of the Google Consent Mode V2 can be found here:

* [About consent mode](https://support.google.com/google-ads/answer/10000067?hl=en)

# 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