How to install

How to install Consent Studio on your website without GTM or gtag.js

A standalone version of Consent Studio

Standalone installation of the Consent Studio CMP, without Google Consent Mode

We recommend that you use a tag management system, specifically Google Tag Manager, to implement consent.studio and perhaps other tags.

Prerequisites

  • Make sure that you have basic knowledge of HTML and JavaScript before using this installation method.

1. Make sure that you have an account with consent.studio

Log in at https://consent.studio. If you do not yet have an account, you can create one here:

Create an account

2. Add this script to your website

We recommend adding the following script as early after opening the <head> element of your HTML page as possible and before the initialisation of gtag.js.

This script has placeholders. Make sure that you replace them.

  • The site domain that you have registered with Consent Studio: [YOUR DOMAIN HERE]

Also, remove any other CMP that may have already been installed on your page to prevent conflicts.

<script src="https://consent.studio/[YOUR DOMAIN HERE]/banner.js"></script>

3. Customise your cookie banner

You can do so in your consent.studio dashboard. More details can be found in this article.

4. Monitor your implementation

Now that you have finalised your implementation, we recommend keeping an eye on what your Consent Studio dashboard (we have a health check page that becomes available to you when issues are detected by our scanner).

Also, please keep an eye on whether our cookie scanner actually finds cookies on your website. If your website does use cookies, but our scanner does not find any, it may because of any of these causes:

  • You do not have the correct domain registered with consent.studio;
  • You have another CMP installed on the domain;
  • No scan has ran just yet (please wait up to 15 minutes after registration for your initial scan to start)

Table of contents