Skip to content

Commit 143fdf1

Browse files
authored
Merge pull request #501 from adjust/readme-update
Update README
2 parents 85f6a71 + 25926e7 commit 143fdf1

File tree

1 file changed

+39
-3
lines changed

1 file changed

+39
-3
lines changed

README.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ Read this in other languages: [English][en-readme], [中文][zh-readme], [日本
4242
* [Offline mode](#offline-mode)
4343
* [Event buffering](#event-buffering)
4444
* [GDPR right to be forgotten](#gdpr-forget-me)
45-
* [Disable third-party sharing](#disable-third-party-sharing)
45+
* [Third-party sharing](#third-party-sharing)
46+
* [Disable third-party sharing](#disable-third-party-sharing)
47+
* [Enable third-party sharing](#enable-third-party-sharing)
48+
* [Measurement consent](#measurement-consent)
4649
* [SDK signature](#sdk-signature)
4750
* [Background tracking](#background-tracking)
4851
* [Device IDs](#device-ids)
@@ -759,9 +762,11 @@ In accordance with article 17 of the EU's General Data Protection Regulation (GD
759762

760763
Upon receiving this information, Adjust will erase the user's data and the Adjust SDK will stop tracking the user. No requests from this device will be sent to Adjust in the future.
761764

762-
### <a id="disable-third-party-sharing"></a>Disable third-party sharing
765+
## <a id="third-party-sharing"></a>Third-party sharing for specific users
763766

764-
You can now notify Adjust when a user has exercised their right to stop sharing their data with partners for marketing partners, but has allowed it to be shared for statistics purposes.
767+
You can notify Adjust when a user disables, enables, and re-enables data sharing with third-party partners.
768+
769+
### <a id="disable-third-party-sharing"></a>Disable third-party sharing for specific users
765770

766771
Call the following method to instruct the Adjust SDK to communicate the user's choice to disable data sharing to the Adjust backend:
767772

@@ -771,6 +776,37 @@ Call the following method to instruct the Adjust SDK to communicate the user's c
771776

772777
Upon receiving this information, Adjust will block the sharing of that specific user's data to partners and the Adjust SDK will continue to work as usual.
773778

779+
### <a id="enable-third-party-sharing">Enable or re-enable third-party sharing for specific users</a>
780+
781+
Call the following method to instruct the Adjust SDK to communicate the user's choice to share data or change data sharing, to the Adjust backend:
782+
783+
```objc
784+
ADJThirdPartySharing *adjustThirdPartySharing = [[ADJThirdPartySharing alloc] initWithIsEnabledNumberBool:YES];
785+
[Adjust trackThirdPartySharing:adjustThirdPartySharing];
786+
```
787+
788+
Upon receiving this information, Adjust changes sharing the specific user's data to partners. The Adjust SDK will continue to work as expected.
789+
790+
Call the following method to instruct the Adjust SDK to send the granular options to the Adjust backend:
791+
792+
```objc
793+
ADJThirdPartySharing *adjustThirdPartySharing = [[ADJThirdPartySharing alloc] initWithIsEnabledNumberBool:nil];
794+
[adjustThirdPartySharing addGranularOption:@"PartnerA" key:@"foo" value:@"bar"];
795+
[Adjust trackThirdPartySharing:adjustThirdPartySharing];
796+
```
797+
798+
### <a id="measurement-consent"></a>Consent measurement for specific users
799+
800+
You can notify Adjust when a user exercises their right to change data sharing with partners for marketing purposes, but they allow data sharing for statistical purposes.
801+
802+
Call the following method to instruct the Adjust SDK to communicate the user's choice to change data sharing, to the Adjust backend:
803+
804+
```objc
805+
[Adjust trackMeasurementConsent:YES];
806+
```
807+
808+
Upon receiving this information, Adjust changes sharing the specific user's data to partners. The Adjust SDK will continue to work as expected.
809+
774810
### <a id="sdk-signature"></a> SDK signature
775811
776812
The Adjust SDK signature is enabled on a client-by-client basis. If you are interested in using this feature, please contact your account manager.

0 commit comments

Comments
 (0)