Didomi-mParticle integration for your CMP
Last updated
Last updated
Thanks to the Didomi-mParticle integration, you will be able to collect consent data and push it to mParticle. At the same time, user consent data will continue streaming to Didomi via the Didomi SDK.
mParticle SDK is initialized → and will automatically initialize the Didomi SDK → the consent notice is then displayed on your website
Once the user provides/updates their consent on the Didomi consent notice, the consent data will be streamed:
To the Didomi server via the Didomi SDK
To the mParticle server via the mParticle SDK
The Didomi-mParticle integration can be set up in 3 main steps:
More documentation here: https://docs.mparticle.com/developers/quickstart/web/overview/
Add the mParticle SDK right below the opening <head> in your webpage’s HTML. Don’t forget to replace the API key as indicated in the script.
Insert the Didomi SDK right below the mParticle SDK. More documentation on Didomi’s Web SDK can be found in this developer documentation.
Login to your mParticle app
Navigate to Directory → Didomi
Click Setup → this will create your Event output for Didomi.
Navigate to Connections → connect
Choose your input: JS Web
Click Connect Output
Choose your output: Didomi integration
Select a configuration from the list and click Next:
Connect Didomi-mParticle data transfer: select the mParticle purposes created earlier and map them to their corresponding Didomi purposes. Didomi purposes will be referenced thanks to the purpose SDK ID (from the Didomi console)
Remove mapping for the other types of data (vendors)
Click “Add connection”