Discover Didomi
Didomi builds technology that allows organizations to place customer consent at the core of their strategy. By making consent and preferences easily accessible, companies benefit from compliant customer data while seeing higher engagement and increased user trust.
Consumers, on their side, are free to choose what data to share and how to stay connected to their favorite brands across touchpoints. Our products include a globally adopted Consent Management Platform (CMP), which collects billions of consents every month, a highly popular Preference Center (PC), and a powerful suite of bespoke solutions to build better consent and preference management.
Find out more here: https://www.didomi.io/
Areas of expertise
- Consent management
- Preference center
- Consent storage
- Update and Proof storage
- Internal and external sharing
- Delegation and authentification
- Reporting and monitoring
AT Connect Didomi
The AT Connect Didomi enables you to deploy a Piano Analytics audience measurement strategy that complies with the latest recommendations from the CNIL and other international regulators. Quickly deploy our various privacy methods (exemption, hybrid measure, opt-in, opt-out ...) and activate them in a few clicks from the interface of your Didomi CMP.
- Easily activate the connector: You can activate the connector between the Analytics Piano Analytics solution and the Didomi CMP in just a few clicks. You are guided step by step through the activation process.
- Compliance of your Analytics Suite: Deploy an audience measurement in accordance with the latest legal recommendations. Choose a configuration as close as possible to your business or legal needs (GDPR) and comply with the rules of the inspection bodies.
- Deploy the CNIL exemption: Benefit from the exemption to consent for the deposit of Piano Analytics audience measurement cookies.
- Deploy the hybrid measure: Choose the best of both worlds by combining the CNIL exemption with Piano Analytics opt-in consent.
- Analyze quality and privacy compliant data: Continue to collect quality data while remaining compliant with the latest legal recommendations. Benefit from comprehensive privacy analysis regarding user consent and leverage them in the various interfaces of the Analytics Suite.
Concept and requirements
The GDPR, and national laws in the framework of the interpretation of the ePrivacy directive currently govern the use of personal data and the conditions for the use of trackers on your digital platforms.
Inadequate configuration may expose you to the risk of sanctions by inspection bodies (restriction or deletion of processing, deletion of data or withdrawal of certification, etc.), actions on the part of users or consumer groups, or financial sanctions, in addition to the risk of processing low quality data.
The AT Connect Didomi enables you to bring your Analytics Suite into compliance with the latest legal recommendations. This connector allows you to implement the following audience measurement methods: CNIL exemption and hybrid measure. You can find more information about these methods in the Privacy Centre.
The purpose of this document is to guide you through the activation of the hybrid measure using the AT Connect Didomi. The hybrid measure is the best of both worlds, allowing you to combine the CNIL exemption with consent ("opt-in").
Important
Prerequisites to implement hybrid measurement with AT Connect Didomi:
- Have a Didomi account.
- Have an Piano Analytics account.
- Comply with the CNIL exemption: configuration of the organization, definition of what is strictly necessary ... More information in this article -> Implementation requiring an exchange with Piano Analytics support.
- Activate the Tag Composer Privacy plugin (available in JavaScript version 24.0).
Activation of the privacy plugin in Tag Composer
First you need to check that you have activated the Privacy plugin in Tag composer on the Piano Analytics side. Indeed this plugin is prerequisite for the proper functioning of this connector. You must therefore go to the Analytics Suite (Explorer> Configuration> Data Collection Portal> Tagging> Tag Composer), select the tag deployed on your site and verify the correct activation of the Privacy plugin (see screenshots below).
Connector configuration in Didomi
You will now be able to activate the hybrid measure in Didomi. First you need to create a notice and set up the link to the opt-out in the "Consent Notices" part. Then you have to select the "Piano Analytics (Hybrid Analytics)" vendor (an Audience Measurement purpose is linked). Finally you will have to deploy the Privacy tag on the pages of your site.
Setting up the link to the opt-out
As part of the hybrid measure you must set up a link to the opt-out on your privacy page. In the Didomi console, access the "Consent Notices" interface in the left menu in order to create or edit the notice relating to the use of Piano Analytics.
Thanks to this interface, you will be able to configure the display of your notice by following several steps. In the second step "Look and Feel" you must reach the "Preferences - Purposes" section (by scrolling down the interface) in order to set up the link to your privacy page, hosting the "opt-out" link.
You can then edit the content of the text displayed at the top of the CMP notice (when viewing preferences). You must add the following mention in the text already present in order to offer the opt-out on the Piano Analytics audience measurement (exempted by default):
Nous utilisons également des traceurs exemptés du recueil de consentement pour le dépôt des cookies de mesure d'audience. Vous pouvez utiliser une fonction d'opt-out via notre <a href="https://www.example.com/opt-out-link">politique de confidentialité</a>.
You can adapt this text according to your needs. In particular, remember to edit the link to your privacy policy page (which includes the Piano Analytics opt-out link). You can also use the {privacyPolicyURL} macro if needed.
You must then proceed to the next step "Vendor & Purposes" to add the "Piano Analytics (Hybrid Analytics)" vendor to your notice.
This vendor includes by default an Audience Measurement purpose (accessible further down in the interface).
Info
You can also create personalized vendors and purposes which will have their own SDK IDs (to be used in the code provided below - red parts).
You can then publish this configuration using the “Save & Publish” button.
Privacy Tag deployment
Now that everything is perfectly configured in the Didomi console, you must add the following code on your website in order to implement the Piano Analytics hybrid measure.
var tag = new ATInternet.Tracker.Tag();
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
var defaultstatus = Didomi.getUserConsentStatusForVendor("c:atinterne-cWQKHeJZ");
if (defaultstatus === true) {
tag.privacy.setVisitorOptin();
} else {
if (tag.privacy.getVisitorMode() == null || tag.privacy.getVisitorMode().name !== "optout") {
tag.privacy.setVisitorMode("cnil", "exempt");
}
} tag.page.set({
name: "yourpagename", //You can customize this part
});
tag.dispatch();
});
window.didomiOnReady = window.didomiOnReady||[];
window.didomiOnReady.push(function(Didomi){
var button = document.getElementById("optout-atinternet");
// Add event handler
button.addEventListener ("click", function() {
// Open Didomi Transation
const transaction = Didomi.openTransaction();
Disable purpose
transaction.disablePurpose('audiencem-xedeU2gQ');
//Disable a vendor
transaction.disableVendor('c:atinterne-cWQKHeJZ');
transaction.commit();
tag.privacy.setVisitorOptout();
tag.dispatch();
});
});
Deployment of the opt-out button
You must deploy an opt-out button on your privacy page. Below is a suggested text and button code:
" Piano Analytics cookies are exempt from the need to obtain consent as stated in the CNIL ruling n°2020-091, insofar as they are strictly necessary for the operation of the site. You may refuse the processing of your personal browsing data by clicking on the button below. Please note that if you opt-out, we will no longer be able to measure and improve our sites in an optimal way."
Button code:
<button id="optout-atinternet">Opt Out</button>
The "optout-atinternet" ID is the link between the button and the privacy tag deployed previously.
AT Connect Didomi is now activated! Here is an overview of the final rendering in the Didomi consent notice deployed on a demo site.
Privacy analysis in Piano Analytics
Once AT Connect Didomi is activated, the Privacy analyzes present in Piano Analytics will be automatically fed according to the users' choice. For example, you can access visitor mode (exempt / opt-in) in Explorer's Privacy analysis (Audience> Privacy).
You can also filter on the values of these properties in your various analysis. Here is an example of traffic sources analysis based on visitor mode (exempt / opt-in) and visitor consent mode (true / false).
Or even integrate them into your Data Query datasets. For example, you can consult the user identification and personal data, using the visitor mode filtered on the value optin.
Other resources
Here is a list of additional resources that can help you understand this Privacy topic and deploy this connector.
- Privacy Centre: All the knowledge to bring privacy and GDPR compliance to your analytics - https://support.piano.io/hc/en-us/sections/4467720428178
- Privacy Developer documentation: Technical information about our various Privacy methods - https://developers.atinternet-solutions.com/javascript-en/advanced-features-javascript-en/privacy-javascript-en/