Commanders Act Customer Success
Platform XDocumentationWelcome to success
English
English
  • Welcome to success
  • STARTER KIT
    • Welcome Commanders Act X
    • Client Side
    • Server Side
    • Consent Management
    • Customer Data Platform
  • 🆕GOOD ORDER
    • Boost your usage !
      • Google Enhanced Conversions
      • Piano analytics
      • Google analytics 4
      • Facebook CAPI
      • Tracking Optimisation
      • CNIL Proxification
  • User Guide
    • First party tracking
      • Domaine management
        • A-Record
        • CNAME
        • On-Premise CAID
      • Proxy management
      • CAID: Master ID and Consistent Anonymous ID
    • Enterprise Tag Management
      • Server-side
        • Sources
          • One Tag
          • iOS Android
          • Flutter
          • Migration V4 to V5
        • Destinations
          • Google Analytics 4
          • Google Enhanced Conversions
    • Consent Management Platform
      • CMP : Set Up
      • A/B ou N testing
      • Best practice
      • Integration of Microsoft Consent Mode
  • Use cases
    • Server Side
      • Optimising advertising campaigns
        • Facebook - Conversions API
        • Google - Enhanced Conversions
        • LinkedIn Conversions API
        • Snapchat Conversions API
        • TikTok Events API
      • Conversion and event tracking
        • Adform
        • Criteo - Events
        • Microsoft Advertising Universal Event Tracking
        • Pinterest
        • Reddit Conversions API
      • Partnerships and affiliations
        • Awin
        • Commission Junction
        • Effinity
        • Rakuten Events
        • Tradedoubler
      • Audience and performance analysis
        • Google Analytics 4
        • Piano Analytics Collection API
        • Piwik PRO
        • Adobe Analytics
        • Matomo
      • Tracking events and interactions
        • Firebase Analytic
        • Webhook
      • Personalising the user experience
        • Kameleoon events
        • Dynamic Yield
    • Audience sharing
      • Advertising campaign management
        • Google - Display & Video 360 AdEx
        • Xandr
      • Targeting and retargeting
        • Criteo Audiences
        • Criteo Offline Conversions
        • Google Customer Match
        • Google Store Sales Direct
        • Facebook Custom Audiences
        • Quantcast
      • Optimising and measuring advertising performance
        • Smart AdServer
        • Gamned
      • Visualisation and reporting
        • Qlik
        • Tableau Cloud
      • Data analysis
        • Teradata
        • Realytics
      • Email campaign management
        • Salesforce Marketing Cloud
        • Actito
      • Data storage and transfer
        • Google Cloud Storage
      • Optimising the user experience
        • AB Tasty
        • Target2Sell
        • Kameleoon Audience
      • Management of trading platforms
        • Magento
      • SMS campaign management
        • Salesforce Marketing Cloud
        • Actito
    • Example Customer Cycle
      • Customers acquisition
        • Identify your visitors with your CRM
        • Behaviour-based product recommendation
        • Excluding buyers for optimised advertising campaigns
        • Reactivation of abandoned shopping baskets by SMS and/or email
        • Sharing profiles with an AB Test partner
        • Generating traffic with similar profiles
        • Retargeting site visitors for advertising campaigns
      • Customers knowledge
        • Building a decision-making database with Commanders Act
        • Identify your visitors
        • Sharing customer knowledge
        • Encrypt and broadcast your data in real time
        • Setting up a repellent base
        • Activate your customers on the right channel at the right time
        • Onboarding of visitors
        • Margin-based management with Adloop to optimise ROI and ROAS
      • Customers loyalty
        • Creating a customer score
        • Detection of intent
        • Customise the carousel with customer knowledge
      • Customers retention
        • Simple customisation with a pop-in
        • Reactivating inactive users
        • Detection of customers at risk of churn
        • Reoptinization of consents
      • Customers reconquest
        • Win back customers
  • Cookbooks & Tutorials
    • First Party Data
      • Introduction
      • Optimised hosting
        • Setting up First Party Hosting
      • Optimising collection
        • Setting up Tracking First with a WAF Proxy
        • Setting up Tracking First in CNAME
        • Setting up Tracking First in A-Record
        • Setting up Tracking First in On-Premise Proxy
    • Entreprise Tag Management
      • ClientSide
        • How to check the changes made on a tag?
        • How to add a tag in client side?
        • How to change a partner ID according to the work environment?
        • How to restrict the triggering of a client-side tag?
        • How can I check which container version is deployed on my website?
      • Serverside
        • How can incoming data be transformed on the platform?
    • Consent Management
      • How to modify/add a category to the privacy center?
      • RGPD, ePrivacy, CCPA, APEC... which message for which users?
      • How can the consent form be adapted to each device?
      • How do I activate iAB TCFv2 on my privacy?
      • How do I change the style or text of my privacy banner?
      • How do I activate vendors on my privacy?
      • How do I create a cookie that is deposited after consent?
    • Campaign analysis
      • How do I add an attribution template to an LRB report?
      • How to filter an LRB report by mobile?
      • How do you compare the numbers in an LRB report over two different time periods?
      • How do I add a dataset to an LRB report?
      • How do I limit access to an LRB?
      • How to add a dimension in MixCommander tags?
      • How to receive MixCommander's click hits?
      • How to receive MixCommander's print hits?
      • How to implement the MixCommander Conversion tag?
      • How to implement the MixCommander Click & Site Tracking tag?
      • How to implement the MixCommander Site Tracking Only tag?
  • Studies & Business Cases
    • Business case
      • Media
        • Yellow Pages
      • Energy
        • Sorgenia
        • Engie
      • Travel
        • Havas Voyages
      • E-commerce
        • Pixartprinting
        • La Redoute
      • Mode
        • K&L Ruppert
        • Promod
      • Banking - Insurance
        • Crédit Mutuel
        • Floa Bank
        • Moniwan
  • Best Practices
    • Server side
      • Data Layer standardisation
      • Setting up 1st party tracking
      • Data enrichment
      • Use our templates
    • Data processing
      • Data enrichment
      • Data cleansing
    • Consent Management
      • Consent reactivation
      • The design of your banner
      • A/B testing
      • Setting up 1st party tracking
      • Video mask...
      • Mobile
    • Monitoring
      • Deploy alerting on a destination
  • FAQs
    • About CAX
    • First party tracking
      • A-Record
    • Entreprise Tag Management
      • Server-Side
      • OneTag
      • SDK
      • SDK migration V4 to V5
    • Consent & Preference Management
      • About CMP ?
      • IAB TCF
      • GDPR & e-Privacy
      • SDK CMP : Introduction
      • SDK CMP : Consent Mode
    • Glossary
Powered by GitBook
On this page
  1. FAQs
  2. Consent & Preference Management

SDK CMP : Consent Mode

Last updated 1 year ago

How do I initialise the privacy module?

Here's how to do it:

2 parameters must be entered:

  • The siteID

  • The privacyID

What is the purpose of the json file?

This file is optional!

The json file allows you to display the privacy centre (2nd level of the CMP) without the need for any specific development and therefore at a lower cost.

Please note, however, that the json file does not allow for much customisation. If your graphic expectations are very high, we recommend that you develop this UI yourself, using our

One of the main advantages of json is that it allows you to update the privacy centre without having to resubmit your application to the store.

*The assistance of a consultant is required for json configuration.

What if I don't want to use the json file?

You can create your own privacy centre

You can develop your own interface if you wish, but make sure you use the recommended methods (later in this document) so that the consent is correctly interpreted by the SDK.

What if I develop my own UI ?

All you need to do is add the SDK methods for each user action on your main banner and your privacy centreTo track user actions correctly, and feed the dashboards (to find out the opt-in rate) you'll need to implement a few functions

You can find the entire library here https://github.com/CommandersAct/tcconsent-flutter-plugin/blob/master/lib/tc_consent.dart

Can the first level of CMP be managed via json?

The json file only manages the privacy centre

If you want to configure a first level of CMP (with the buttons accept all, set cookies, refuse all) you will have to develop it yourself. To track user actions correctly, and feed the dashboards (to find out the opt-in rate) you will have to implement a few functions (detailed later in this document).

You can also consult the entire library here https://github.com/CommandersAct/tcconsent-flutter-plugin/blob/master/lib/tc_consent.dart

How do you manage the accept all and reject all buttons?

On your first banner

With json, all you have to do is integrate these methods on the buttons

Without json Use the saveConsentFromConsentSourceWithPrivacyAction method By feeding the consent, source and action parameters

How do you feed the consent parameter?

On your first banner & On your custom privacy centre (if you don't use json)

Use the method saveConsentFromConsentSourceWithPrivacyAction method

Fill the consent parameter as follows Define the consent table with the correct values

Remember: 1 means accept, 0 means refuse

  • For an accept all button, everything will have a value of 1

  • For a refuse all button, everything will have a value of 0

*If you use json, this part will be managed natively by the SDK in the privacy centre.

What are the right IDs to use?

On your first banner AND on your custom privacy centre (if you don't use json)

Don't know your category and vendor IDs?

You can view them easily on the platform in the

Trust => Categories & Tags tab.

If you prefer, you can ask your consultant to provide them for you.

How do you feed the source parameter?

On your first banner AND on your custom privacy centre (if you're not using json)

In the method saveConsentFromConsentSourceWithPrivacyAction method

Set the source parameter to the correct value

Possible values

*if you use json, this part will be managed natively by the SDK for the privacy centre.

How can I obtain statistics from the dashboards in the consent analysis tab?

Prerequisite:

In the SDK settings, you need to enter a banner ID.

To obtain this ID, we strongly recommend that you create a banner dedicated to your app on the interface (Source => Privacy Banners).

This banner does not need any text or graphic style. It simply needs to include the same categories (privacy centre) as those of your application.

No need to generate and/or deploy this banner

Its main purpose is to create a column in the dashboard interface

How can I obtain statistics from the dashboards in the consent analysis tab (with JSON) ?

Main banner (with json)

Here are the functions to integrate if you use json :

How can I obtain statistics from the dashboards in the consent analysis tab (without JSON) ?

Main banner (without json)

Here are the functions to integrate if you don't use json :

Privacy Center (with json) : How can I obtain statistics from the dashboards in the consent analysis tab?

Privacy Center (with json)

You don't have to do a thing, it's all native

Privacy Center (without json) : How can I obtain statistics from the dashboards in the consent analysis tab?

Privacy Center (without json)

Here are the functions to integrate if you don't use json :

How do I transfer consent to a webview?

Only 2 steps to follow!

Prerequisite: have a Commanders Act banner on your website

Step 1: Your IT team must retrieve the consent using the method below and transfer it via a local storage

*Recommendation for naming the local storage key: rgpd_consent

Step 2: A consultant must implement custom javascript code in the web banner to interpret the local storage correctly.

How do I set the consent validity period?

The CNIL recommends setting the duration at 6 months

Here's how to set the validity period

Why and how do you reset consent?

If you make major changes to your privacy

If, for example, you want to add a new category to your privacy centre, you will need to ask for the user's consent to opt-in to this new category.

To do this, you need to use the following method

Page cover image