Consent SDK
A Consent SDK is a bundle of code that developers embed within a mobile app or software to collect, apply, and pass along a user's choices about tracking and data use. It lets other parts of the app, and third-party components, know whether the user has agreed to specific data processing before that processing takes place. It is a technical building block that supports compliance efforts but does not, by itself, guarantee that an app meets any particular legal requirement.
A Consent SDK (software development kit) is a set of libraries and APIs embedded within an application to provide consent-management functionality, typically exposing methods to capture, store, retrieve, and apply a user's consent status and to gate the behaviour of other SDKs or code that access or process user and device data. In practice, such SDKs are designed so that components accessing or processing user or device information do so only after the relevant consent signal has been set; for example, some implementations do not store or transmit collected data until consent has been granted, and others provide an API to set the user's consent status. Consent SDKs are relevant to both the ePrivacy Directive and the GDPR in the EU: the storing of or gaining access to information on a user's device (including via app storage, identifiers, and similar technologies) generally requires prior consent under Article 5(3) of the ePrivacy Directive as implemented across Member States (subject to strictly-necessary exemptions), while any subsequent processing of personal data still requires a separate lawful basis under the GDPR even where the device-storage step is exempt. Some Consent SDKs interoperate with wider frameworks or vendor consent modes (for example Google consent mode functionality for AdMob and Ad Manager, or CMP in-app SDKs), but the scope, signals supported, and framework alignment vary by vendor. This definition does not cover the specific configuration, record-keeping, or transparency obligations that determine whether any given deployment satisfies applicable law, and requirements differ across jurisdictions such as the EU, the UK, and individual US states.
Why it matters
Mobile apps rarely process user data through a single, self-contained codebase. They typically embed numerous third-party SDKs for analytics, advertising, attribution, and other functions, and each of those components may access device identifiers or store and transmit user data. A Consent SDK provides a central mechanism to capture a user's choices and signal them to those other components, so that data processing is gated on the user's consent status rather than happening indiscriminately when the app launches. Without such a mechanism, an app risks allowing embedded SDKs to store information on or access information from a device, and to process personal data, before any valid consent has been obtained.
Who it's relevant to
Inside Consent SDK
Common questions
Answers to the questions practitioners most commonly ask about Consent SDK.

