All Collections
Data Collection & GDPR
Data Collection
How to integrate Batch into my CMP?
How to integrate Batch into my CMP?

You will find here all the necessary information to include Batch in your Consent Management Platform.

Lucie avatar
Written by Lucie
Updated over a week ago

Consent management platforms allow a website or mobile application publishers to easily set up an interface for collecting user consent.

You can integrate Batch into any kind of CMP, here is how you can do it:

Technical integration

Mobile (iOS / Android)

On mobile, you can disable the SDK by default and start collecting data only after users give consent:

  1. Set the BATCH_OPTED_OUT_BY_DEFAULT property as "true" to disable Batch by default: iOS / Android

  2. Use the optIn method to enable Batch SDK once consent has been given: iOS / Android

  3. Use the optOut method if the consent is removed (from the app settings for example): iOS / Android

Web

For web push, data collection is triggered with the execution of Batch's JavaScript tag.

You can choose the trigger that will load the JavaScript tag. For example, you can trigger it when consent is provided via the CMP.

Here are more details on triggers for Google Tag Manager and TagCommander.

You also need to call batchSDK('unsubscribe') for users who revoke their consent after having opted in to push notifications. This will insure these users are unsubscribed from push notifications.

Managing purposes

Most of the CMPs allow you to customize the purposes for which you collect consent. Here are examples in Didomi's documentation and Usercentrics' documentation.

Your legal team can help you to determine these purposes and how to handle these treatments in your specific case.

This guide summarizes all the data processed by Batch, as well as all the actionable features at your disposal to comply with GDPR: GDPR Compliance.


This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on batch.com and our blog.

Did this answer your question?