You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,21 @@
1
+
### Version 4.26.0 (18th February 2021)
2
+
#### Added
3
+
- Added possibility to get cost data information in attribution callback.
4
+
- Added `setNeedsCost` method to `AdjustConfig` to indicate if cost data is needed in attribution callback (by default cost data will not be part of attribution callback if not enabled with this setter method).
5
+
- Added `setPreinstallTrackingEnabled` method to `AdjustConfig` to allow enabling of preinstall tracking (this feature is OFF by default).
6
+
- Added support for Apple Search Ads attribution with usage of `AdServices.framework`.
7
+
- Added `setAllowAdServicesInfoReading` method to `AdjustConfig` to allow option for users to prevent SDK from performing any tasks related to Apple Search Ads attribution with usage of `AdServices.framework`.
8
+
- Added wrapper method `updateConversionValue` method to `Adjust` to allow updating SKAdNetwork conversion value via SDK API.
9
+
- Added `getAppTrackingAuthorizationStatus` getter to `Adjust` instance to be able to get current iOS app tracking status.
10
+
- Added improved measurement consent management and third party sharing mechanism.
11
+
- Added public constants to be used as sources for ad revenue tracking with `trackAdRevenue` method.
@@ -237,16 +242,15 @@ As of v4.22.0, the Adjust SDK supports install tracking on Huawei devices with H
237
242
238
243
### <aid="ios-frameworks"></a>iOS frameworks
239
244
240
-
Select your project in the Project Navigator. In the left hand side of the main view, select your target. In the tab `Build Phases`, expand the group `Link Binary with Libraries`. On the bottom of that section click on the `+` button. Select the `AdSupport.framework`and click the `Add` button. Unless you are using `tvOS`, repeat the same steps to add the `iAd.framework`, `CoreTelephony.framework`, `AppTrackingTransparency.framework` and `StoreKit.framework`. Change the `Status` of both frameworks to `Optional`. Adjust SDK uses these frameworks with following purpose:
245
+
Select your project in the Project Navigator. In the left hand side of the main view, select your target. In the tab `Build Phases`, expand the group `Link Binary with Libraries`. On the bottom of that section click on the `+` button. Select below mentined frameworks and make sure to change the `Status` of frameworks to `Optional`. Adjust SDK uses these frameworks with following purpose:
241
246
242
-
*`iAd.framework` - in case you are running iAd campaigns
243
-
*`AdSupport.framework` - for reading iOS Advertising Id (IDFA)
244
-
*`CoreTelephony.framework` - for reading MCC and MNC information
245
-
*`StoreKit.framework` - for communication with SKAdNetwork framework
247
+
*`iAd.framework` - to support Apple Searh Ads campaigns
248
+
*`AdServices.framework` - to support Apple Searh Ads campaigns
249
+
*`AdSupport.framework` - to read iOS Advertising Id (IDFA) value
250
+
*`CoreTelephony.framework` - to read MCC and MNC information
251
+
*`StoreKit.framework` - to communicate with `SKAdNetwork` framework
246
252
*`AppTrackingTransparency.framework` - to ask for user's consent to be tracked and obtain status of that consent
247
253
248
-
If you are not running any iAd campaigns, you can feel free to remove the `iAd.framework` dependency. If you don't use SKAdNetwork framework, feel free to remove `StoreKit.framework` dependency (unless you need it for something else).
249
-
250
254
## <aid="additional-features"></a>Additional features
251
255
252
256
You can take advantage of the following features once the Adjust SDK is integrated into your project.
Before calling the method, make sure that your iOS app's `Info.plist` contains an entry for `NSUserTrackingUsageDescription` key. In absence of that key and usage of this method, app will crash.
306
310
311
+
### <aid="ata-getter"></a>Get current authorisation status
312
+
313
+
**Note**: This feature exists only in iOS platform.
314
+
315
+
To get the current app tracking authorization status you can call `getAppTrackingAuthorizationStatus` method of `Adjust` class that will return one of the following possibilities:
**Note**: This feature exists only in iOS platform.
@@ -316,6 +332,16 @@ In case you don't want the Adjust SDK to automatically communicate with SKAdNetw
316
332
adjustConfig.deactivateSKAdNetworkHandling();
317
333
```
318
334
335
+
### <aid="skadn-update-conversion-value"></a>Update SKAdNetwork conversion value
336
+
337
+
**Note**: This feature exists only in iOS platform.
338
+
339
+
You can use Adjust SDK wrapper method `updateConversionValue` to update SKAdNetwork conversion value for your user:
340
+
341
+
```js
342
+
Adjust.updateConversionValue(6);
343
+
```
344
+
319
345
### <aid="event-tracking"></a>Event tracking
320
346
321
347
You can use Adjust to track all kinds of events. Let's say you want to track every tap on a button. Simply create a new event token in your [dashboard]. Let's say that event token is `abc123`. You can add the following line in your button’s click handler method to track the click:
@@ -611,9 +640,14 @@ Within the listener function you have access to the `attribution` parameters. He
611
640
-`creative` the creative grouping level of the current attribution.
612
641
-`clickLabel` the click label of the current attribution.
613
642
-`adid` the Adjust device identifier.
643
+
-`costType` the cost type.
644
+
-`costAmount` the cost amount.
645
+
-`costCurrency` the cost currency.
614
646
615
647
Please make sure to consider our [applicable attribution data policies][attribution-data].
616
648
649
+
**Note**: The cost data - `costType`, `costAmount` & `costCurrency` are only available when configured in `AdjustConfig` by calling `setNeedsCost` method. If not configured or configured, but not being part of the attribution, these fields will have value `null`. This feature is available in SDK v4.26.0 and above.
650
+
617
651
### <aid="session-event-callbacks"></a>Session and event callbacks
618
652
619
653
You can register a callback to be notified of successful and failed tracked events and/or sessions.
@@ -754,19 +788,52 @@ Adjust.gdprForgetMe();
754
788
755
789
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.
756
790
757
-
###<aid="disable-third-party-sharing"></a>Disable third-party sharing for specific users
791
+
## <aid="third-party-sharing"></a>Third-party sharing for specific users
758
792
759
-
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.
793
+
You can notify Adjust when a user disables, enables, and re-enables data sharing with third-party partners.
760
794
761
-
Call the following method to instruct the Adjust SDK to communicate the user's choice to disable data sharing to the Adjust backend:
795
+
### <aid="disable-third-party-sharing"></a>Disable third-party sharing for specific users
762
796
797
+
Call the following method to instruct the Adjust SDK to communicate the user's choice to disable data sharing to the Adjust backend:
763
798
764
-
```cs
765
-
Adjust.disableThirdPartySharing();
799
+
```js
800
+
var adjustThirdPartySharing =newAdjustThirdPartySharing(false);
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.
769
805
806
+
### <aid="enable-third-party-sharing">Enable or re-enable third-party sharing for specific users</a>
807
+
808
+
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:
809
+
810
+
```js
811
+
var adjustThirdPartySharing =newAdjustThirdPartySharing(false);
### <aid="measurement-consent"></a>Consent measurement for specific users
826
+
827
+
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.
828
+
829
+
Call the following method to instruct the Adjust SDK to communicate the user's choice to change data sharing, to the Adjust backend:
830
+
831
+
```js
832
+
Adjust.trackMeasurementConsent(true);
833
+
```
834
+
835
+
Upon receiving this information, Adjust changes sharing the specific user's data to partners. The Adjust SDK will continue to work as expected.
836
+
770
837
### <aid="sdk-signature"></a>SDK signature
771
838
772
839
An account manager must activate the Adjust SDK signature. Contact Adjust support ([email protected]) if you are interested in using this feature.
0 commit comments