Install UniConsent Tag with Google Tag Manager

You can easily set up the UniCosent CMP Tag on your website via Google Tag Manager using the UniConsent CMP Tag Template for GTM.

It is recommended to set up UniCosent CMP via Google Tag Manager if you are managing all your other tags with Google Tag Manager.

Google Tag Manager loads the UniCosent CMP Tag with the Consent Initialization - All Pages trigger. Then, use Consent Mode signals provided by the UniConsent CMP Tag to load your other tags in GTM.

Before you get started, find the CMP license ID in the UniConsent dashboard under the Install & Setup section of your project.

Step 1: Find or Create a Container in Google Tag Manager

Find the Google Tag Manager container for your website, or create one if you are new to Google Tag Manager.

Find or create a container in Google Tag ManagerFind or create a container in Google Tag Manager

Step 2: Find or Create a Container in Google Tag Manager

You can find the UniConsent Tag by clicking here or locate it manually.

Add a new tag to the Google Tag Manager container by clicking Discover more tag types in the Community Template Gallery.

Add UniConsent CMP TagAdd UniConsent CMP Tag

Search for UniConsent and add it to your container.

Find UniConsent CMP Tag Template in the Community Template GalleryFind UniConsent CMP Tag Template in the Community Template Gallery

Step 3: Configure the UniConsent CMP Tag by Entering Your License ID

The trigger should be Consent Initialization - All Pages.

Configure the UniConsent CMP Tag by entering your license IDConfigure the UniConsent CMP Tag by entering your license ID

Then, remember to publish the changes on your website and add the Google Tag Manager tag to your site based on the instructions.

Then you can use Consent Mode signals to manage all the other tags.

Enable the feature at GTM Container SettingsEnable the feature at GTM Container Settings

Control Tags Loading with Consent ModeControl Tags Loading with Consent Mode

Still have questions?

Contact us: support@uniconsent.com