Skip to content

Commit daf9191

Browse files
committed
update README
1 parent 1af4b8f commit daf9191

File tree

1 file changed

+41
-4
lines changed

1 file changed

+41
-4
lines changed

README.md

+41-4
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ Read this in other languages: [English][en-readme], [中文][zh-readme], [日本
7979
* [Event buffering](#ad-event-buffering)
8080
* [Background tracking](#ad-background-tracking)
8181
* [GDPR right to be forgotten](#ad-gdpr-forget-me)
82-
* [Disable third-party sharing](#ad-disable-third-party-sharing)
82+
* [Third-party sharing](#ad-third-party-sharing)
83+
* [Disable third-party sharing](#ad-disable-third-party-sharing)
84+
* [Enable third-party sharing](#ad-enable-third-party-sharing)
85+
* [Measurement consent](#ad-measurement-consent)
8386

8487
### Testing and troubleshooting
8588
* [Debug information in iOS](#tt-debug-ios)
@@ -1028,18 +1031,52 @@ Upon receiving this information, Adjust will erase the user's data and the Adjus
10281031
Please note that even when testing, this decision is permanent. It is not reversible.
10291032

10301033

1031-
### <a id="ad-disable-third-party-sharing"></a>Disable third-party sharing for specific users
1034+
## <a id="ad-third-party-sharing"></a>Third-party sharing for specific users
1035+
1036+
You can notify Adjust when a user disables, enables, and re-enables data sharing with third-party partners.
10321037

1033-
You can now notify Adjust when a user has exercised their right to stop sharing their data with partners for marketing purposes, but has allowed it to be shared for statistics purposes.
1038+
### <a id="ad-disable-third-party-sharing"></a>Disable third-party sharing for specific users
10341039

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

10371042
```csharp
1038-
Adjust.disableThirdPartySharing();
1043+
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(false);
1044+
Adjust.trackThirdPartySharing(adjustThirdPartySharing);
10391045
```
10401046

10411047
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.
10421048

1049+
### <a id="ad-enable-third-party-sharing">Enable or re-enable third-party sharing for specific users</a>
1050+
1051+
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:
1052+
1053+
```csharp
1054+
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(true);
1055+
Adjust.trackThirdPartySharing(adjustThirdPartySharing);
1056+
```
1057+
1058+
Upon receiving this information, Adjust changes sharing the specific user's data to partners. The Adjust SDK will continue to work as expected.
1059+
1060+
Call the following method to instruct the Adjust SDK to send the granular options to the Adjust backend:
1061+
1062+
```csharp
1063+
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(null);
1064+
adjustThirdPartySharing.addGranularOption("PartnerA", "foo", "bar");
1065+
Adjust.trackThirdPartySharing(adjustThirdPartySharing);
1066+
```
1067+
1068+
### <a id="ad-measurement-consent"></a>Consent measurement for specific users
1069+
1070+
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.
1071+
1072+
Call the following method to instruct the Adjust SDK to communicate the user's choice to change data sharing, to the Adjust backend:
1073+
1074+
```csharp
1075+
Adjust.trackMeasurementConsent(true);
1076+
```
1077+
1078+
Upon receiving this information, Adjust changes sharing the specific user's data to partners. The Adjust SDK will continue to work as expected.
1079+
10431080
## Testing and troubleshooting
10441081

10451082
### <a id="tt-debug-ios"></a>Debug information in iOS

0 commit comments

Comments
 (0)