LogoLogo
Analytics HelperSirdata APISemantic APIA propos de Sirdata
English
English
  • Sirdata CMP
  • INSTALL
    • Web & Mobile web
    • AMP
    • Via a Tag Manager
      • Loading via Google Tag Manager
    • In a CMS
      • Loading in Shopify
      • Loading in Wordpress
      • Loading in Prestashop
      • Loading in Magento
      • Loading in Drupal
    • Cache Systems Exclusion
      • Autoptimize WordPress Plugin
      • Cloudflare WordPress Plugin
      • LiteSpeed WordPress Plugin
      • NitroPack WordPress Plugin
      • SG Optimizer WordPress Plugin
      • WP Super Cache WordPress Plugin
      • W3 Total Cache WordPress Plugin
      • WP Meteor Plugin for Wordpress
      • WP Rocket WordPress Plugin
  • CONSENT TRANSMISSION STANDARDS
    • Introduction
    • Google Consent Mode
      • Mandatory Prerequisite
      • Activation of Advanced Google Consent Mode
        • Via the Sirdata CMP
        • Via Google Tag Manager
      • Activation of Basic Google Consent Mode
        • Via the Sirdata CMP
        • Via Google Tag Manager
      • Activation via Sirdata CMP
      • Activation via Google Tag Manager
    • Microsoft UET Consent Mode
    • Microsoft Clarity Consent
  • CMP API
    • How it works
    • Examples
    • Working with iframes
  • Advanced features
    • Passive mode
    • Set language per user
    • Manually display the CMP
  • Script management
    • Remote Tags Management without a Tag Manager
    • Remote Tags Management with a Tag Manager
    • Tag Management with Google Tag Manager
    • Local script Management
    • Advanced configuration
    • Examples
    • Share the TC String
    • Tag Management setup service
  • Analytics
    • Google Analytics
  • F.A.Q.
    • Integration
      • Is Abconsent compatible with Stape?
      • Is ABConsent compatible with Addingwell?
    • Google Consent Mode V2
      • Google Consent Mode V2 utility
      • News Google Consent Mode V2
      • Advanced mode or basic mode
    • Packaging
      • Cookies management
      • Tags packaging
    • Cookie settings
    • Button operation
    • Button color
    • A/B test
    • Mobile, tablets ...
    • Multi-sites
    • Mobile display
    • Private browsing
    • AMP consent
    • AMP consent button
    • Tags conditionning
    • Google Ads
    • Error 6.1 Google
    • Google PageSpeed
    • Refusal & Targeted ads
    • Mozilla and adblocks
    • Wordpress, Joomla, etc ...
    • Shopify
    • Pricing
      • The Two Types of Licenses
      • What happens when I reach the limit of my monthly plan?
      • Do you offer a trial period?
      • What are the accepted payment methods?
      • Do you offer packages for very high volumes of hits?
      • Are unused hits carried over to the next month?
      • What is considered a Hit?
      • Can I change plans?
    • Content Security Policy (CSP)
    • Google
      • Problem gclid google
      • Google extensions
    • How to Verify the Integration of My CMP?
    • How to Identify the Cookies Present on Your Website?
    • Abconsent CMP is compatible with Taggr ?
  • CMP Services
    • CMP Configuration
    • CMP Integration
    • Tag Conditioning
    • Compliance audit
    • Extra-vendorlist
    • Video-Wall
    • Inventory Partners
    • Consulting
  • Links
    • Configure your CMP
    • Sirdata API
    • Semantic API
    • About Sirdata
    • Analytics Helper
Propulsé par GitBook
Sur cette page

Cet article vous a-t-il été utile ?

  1. Advanced features

Manually display the CMP

PrécédentSet language per userSuivantRemote Tags Management without a Tag Manager

Dernière mise à jour il y a 4 mois

Cet article vous a-t-il été utile ?

It is imperative to allow users to withdraw their consent at any time, in accordance with GDPR requirements.

This is why the icon allows them to view and modify their choices at any time.

However, it is possible to hide this icon by opting for another display mode. You can, in fact, display a link in the footer of your site instead, by selecting the appropriate option in the management console.

Here are the steps to hide the icon and display a link in the footer:

  1. In the management console of your CMP, select the "Manage in the footer" option under the "Display style" section of the "Update images and button" tab.

  2. Once this option is selected, add a link that allows users to reopen the CMP in the footer of your site (see below).

  3. If you do not comply with the display rule allowing users to withdraw their consent via the footer, the system will automatically switch to the "icon" mode to ensure GDPR compliance.

Indeed, it is possible to trigger the display of the CMP with the JavaScript command window.Sddan.cmp.displayUI(). Depending on your needs, you can integrate this into a JavaScript script or in an HTML link on your site.

Please note that this command will display the CMP only for users to whom GDPR applies, based on your CMP configuration. For other users, the CMP will not be displayed.

//JavaScript script demo
<script>window.Sddan.cmp.displayUI();</script>
<!-- HTML link demo -->
<a href="javascript:window.Sddan.cmp.displayUI();">Cookies settings</a>

It is crucial that the link to reopen the CMP is present on the page when it first loads. The CMP checks for the existence of this link at load time to determine whether or not it should display the consent icon. This means that the link must be synchronously integrated into the HTML code of the page.

It is therefore not possible to add it asynchronously, for example via a JavaScript script that would execute after the CMP is loaded. If the link is not present when the CMP performs its check, the icon will be displayed by default.

If this link is added asynchronously (for example, via JavaScript after the CMP has loaded), the CMP check will fail, and the icon will be displayed, which does not align with the expected behavior of the CMP without the icon when the link is present in the footer.