How to Access and Implement the CMP Script in CookieConsent

How to Access and Implement the CMP Script in CookieConsent

A. Access the Implementation Section

Step 1: Open CookieConsent from the sidebar.

Step 2: Select a Consent from the list.

Step 3: Choose one of its Configurations.

Step 4: Click the Implementation tab at the top.


You will now see the Live Version script.


B. Install the Script on Your Website

Step 1: Copy the script from the Implementation tab.


Step 2: Paste it into the <head> section of your website.

Step 3: Make sure it appears before any third-party scripts, such as:

  • Google Analytics

  • Facebook Pixel

  • LinkedIn Insight Tag

  • Hotjar

  • TikTok Pixel

  • YouTube embeds

Step 4: Publish or deploy your website.

This ensures third-party scripts do not run until consent is granted.


C. Verify the Installation

Step 1: Open your website in a private/incognito window.

Step 2: Refresh the page.

Step 3: Confirm that the CMP banner appears immediately.

Step 4: Open browser Developer Tools → Network and check that loader.js loads correctly.

Step 5: After giving consent, verify that consent data is stored in localStorage or cookies.

If the banner appears and consent is stored, the implementation is successful.

    • Related Articles

    • How to Configure CMP Settings in CookieConsent

      A. Access CMP Settings Step 1: Open CookieConsent from the sidebar. Step 2: Select an existing Consent Configuration. Step 3: Click the Configuration tab at the top. Step 4: Open the CMP Settings sub-tab. B. Configure CMP Features Cross-Domain ...
    • How to Access and Manage Service Categories in CookieConsent

      A. Access Categories Step 1: Open CookieConsent from the sidebar. Step 2: Select a CMP configuration from the list. Step 3: Click Service settings in the top navigation. Step 4: Open the Categories sub-tab. You will now see all categories linked to ...
    • How to Access and Implement a Survey Configuration

      A. Access the Implementation Page Step 1: Open the Survey app from the sidebar. Step 2: Select the survey configuration you want to implement. Step 3: Click the Implementation tab at the top. You will now see all available integration options. B. Use ...
    • How to Access and Customize Styling and Branding in CookieConsent

      A. Access Styling Settings Step 1: Open CookieConsent from the left sidebar. Step 2: Select a company from the list. Step 3: Select a consent configuration. Step 4: Click Appearance in the top navigation. Step 5: Open the Styling sub-tab. B. ...
    • How to Access and Manage Labels in CookieConsent

      A. Access the Labels Section Step 1: Open CookieConsent from the left sidebar. Step 2: Select a Consent from the list. Step 3: Select a Configuration. Step 4: Click the Content tab in the top navigation. Step 5: Open the Labels sub-tab. B. Edit a ...