Skip to main content

Consent forwarding

OptSens forwards each decision to Google Consent Mode and to attribution partners (AppsFlyer, Adjust, Branch, Kochava). Only the consent decision is forwarded; the partner SDKs are your own. Firebase is gated on the dashboard Consent Mode toggle. How the attribution partners receive the decision depends on the platform: automatically on Android, and through one small forwarder per partner on iOS (below).

Forwarding is automatic. The SDK detects Firebase and each attribution partner at runtime and forwards consent with no host code. An app without a given partner SDK does nothing for it.

  • Firebase (Google Consent Mode): add com.google.firebase:firebase-analytics and the google-services plugin as usual. Forwarded when the dashboard Consent Mode toggle is on.
  • AppsFlyer, Adjust, Branch, Kochava: forwarded automatically whenever the SDK is in the app.

You do not add any forwarder code on Android.

note

For Firebase to forward on iOS, Firebase Analytics must be loaded in your app, not only linked. A real app that uses Analytics satisfies this.

After a reject, Google Consent Mode still sends cookieless pings by design (analytics_storage = denied means no identifiers, not silence). To send nothing before consent, gate your own collection as well.