# Consent Management Support Matrix


> Details on the availability of RudderStack’s consent management feature across different sources.


This guide details RudderStack's consent management integration support across different SDKs and sources.

## Pre-consent user tracking

Pre-consent user tracking is only available in the [JavaScript SDK v3](https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/).

## Integrations support

Irrespective of the source or destination, RudderStack honors the consent ID values included in `context.consentManagement` in event payloads. Only some SDK/provider combinations add this object automatically.

You can also add the consent data to event payloads [manually](https://www.rudderstack.com/docs/data-governance/consent-management/passing-consent/) to apply the filtering logic (allow or block) on downstream destinations. This is required for server-side SDKs, HTTP source, and SDK/provider combinations that do not have native integrations. RudderStack supports manual consent payloads **only** for [cloud mode](https://www.rudderstack.com/docs/destinations/rudderstack-connection-modes/#cloud-mode) destinations.

The following table lists SDK/provider combinations that automatically append consent data to your events. All other combinations require passing `context.consentManagement` manually.

## Support matrix

<table>
	<tbody>
		<tr>
			<th>Source</th>
			<th>OneTrust</th>
			<th>Ketch</th>
			<th>iubenda</th>
			<th>Custom</th>
		</tr>
		<tr>
			<td><a href="https://rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/">JavaScript SDK (v3)</a></td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
		</tr>
		<tr>
			<td><a href="https://www.rudderstack.com/docs/archive/javascript-sdk/1.1/">JavaScript SDK</a><br /><br />(older versions)</td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
			<td colspan="2"><center>Through <a href="https://rudderstack.com/docs/data-governance/consent-management/passing-consent/">event context</a></center></td>
		</tr>
		<tr>
			<td><a href="https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-android-sdk/">Android (Java) SDK</a><br/>Deprecated</td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
			<td colspan="3"><center>Through <a href="https://rudderstack.com/docs/data-governance/consent-management/passing-consent/">event context</a></center></td>
		</tr>
		<tr>
			<td><a href="https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-ios-sdk/">iOS (Obj-C) SDK</a><br/>Deprecated</td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
			<td colspan="3"><center>Through <a href="https://rudderstack.com/docs/data-governance/consent-management/passing-consent/">event context</a></center></td>
		</tr>
		<tr>
			<td><a href="https://www.rudderstack.com/docs/sources/event-streams/sdks/kotlin-sdk/">Android (Kotlin) SDK</a></td>
			<td colspan="3"><center>Through <a href="https://rudderstack.com/docs/data-governance/consent-management/passing-consent/">event context</a></center></td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
		</tr>
		<tr>
			<td><a href="https://www.rudderstack.com/docs/sources/event-streams/sdks/swift-sdk/">iOS (Swift) SDK</a></td>
			<td colspan="3"><center>Through <a href="https://rudderstack.com/docs/data-governance/consent-management/passing-consent/">event context</a></center></td>
			<td><i class="fa-solid fa-circle-check fa-xl"></i></td>
		</tr>
		<tr>
			<td><a href="https://www.rudderstack.com/docs/sources/event-streams/sdks/#server">Server-side SDKs</a></td>
			<td colspan="4"><center>Through <a href="https://rudderstack.com/docs/data-governance/consent-management/passing-consent/">event context</a></center></td>
		</tr>
		<tr>
			<td><a href="https://www.rudderstack.com/docs/sources/event-streams/http/">HTTP Source</a></td>
			<td colspan="4"><center>Through <a href="https://rudderstack.com/docs/data-governance/consent-management/passing-consent/">event context</a></center></td>
		</tr>
	</tbody>
</table>

**Info**

See [Consent Management in Mobile SDKs](https://www.rudderstack.com/docs/sources/event-streams/sdks/client-side-features/consent-management/) for the Android (Kotlin) and iOS (Swift) Custom provider implementation. 

Unlike the manual `context.consentManagement` approach, the native Custom provider in these SDKs gates **both** cloud mode and device mode destinations.
