Consent management platforms allow 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


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.

Managing purposes

Most of the CMPs allow you to customize the purposes for which you collect consent. Here is an example in Didomi's 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.

Did this answer your question?