diff --git a/src/content/docs/en/sdk/ios/configuration/skad.mdx b/src/content/docs/en/sdk/ios/configuration/skad.mdx index aa3032be3..ba87cb402 100644 --- a/src/content/docs/en/sdk/ios/configuration/skad.mdx +++ b/src/content/docs/en/sdk/ios/configuration/skad.mdx @@ -43,8 +43,6 @@ If you manage your conversion values with Adjust, the servers update this value - - ### Example This example demonstrates how to update a conversion value to `10` in response to a user triggering an event. @@ -74,9 +72,7 @@ func onButtonClick() { - - -### Set up completion handlers +## Set up completion handlers The Adjust SDK contains wrappers for Apple's `updatePostbackConversionValue` methods. These methods provide more options for handling SKAdNetwork postbacks, including the option to handle failures. @@ -110,8 +106,6 @@ updatePostbackConversionValue - - ### Example @@ -151,14 +145,10 @@ if (@available(iOS 16.1, *)) { - - ## Listen for changes to conversion values If you use Adjust to manage conversion values, the Adjust's servers send conversion value updates to the SDK. You can set up a delegate function to listen for these changes using the `adjustConversionValueUpdated` method. - - ### Example This example demonstrates how to log the following when the conversion value updates: @@ -191,8 +181,6 @@ func adjustConversionValueUpdated(_ conversionValue: NSNumber?) { - - ## SKAdNetwork 4.0 callbacks SKAdNetwork 4.0 postbacks contain some additional information to give advertisers more insight into their users. When Adjust's servers update conversion values, this additional information is sent in a payload. You can access this information with the `adjustConversionValueUpdated` callback method. @@ -217,8 +205,6 @@ SKAdNetwork 4.0 postbacks contain some additional information to give advertiser - - ### Example This example demonstrates how to log the the fine conversion value, the coarse conversion value, and whether the SKAdNetwork postback is set to send before the conversion window ends. @@ -252,8 +238,6 @@ func adjustConversionValueUpdated(_ fineValue: NSNumber?, coarseValue: String?, - - ## Set up direct install postbacks diff --git a/src/content/docs/en/sdk/ios/features/ad-revenue.mdx b/src/content/docs/en/sdk/ios/features/ad-revenue.mdx index d70be2501..12d5091cb 100644 --- a/src/content/docs/en/sdk/ios/features/ad-revenue.mdx +++ b/src/content/docs/en/sdk/ios/features/ad-revenue.mdx @@ -38,7 +38,7 @@ To send ad revenue to Adjust: ## Sources - +
| Parameter | Source | | ------------------------------------ | ----------------- | @@ -77,46 +77,30 @@ Check the [guide to tracking purchases in different currencies](https://help.adj The ad revenue object contains properties you can use to report on your ad campaigns. - - ### Ad impressions Record the number of ad impressions by passing an **integer** value to the `setAdImpressionsCount` method || . - - - - ### Ad revenue network Record which network generated the revenue by passing a **string** value to the `setAdRevenueNetwork` method || . - - - - ### Ad revenue unit Record which ad revenue unit generated the revenue by passing a **string** value to the `setAdRevenueUnit` method || . - - - - ### Ad revenue placement Record the placement of your ad by passing a **string** value to the `setAdRevenuePlacement` method || . - - ## Add callback parameters If you [register a callback URL](https://help.adjust.com/en/article/recommended-placeholders-callbacks) in the Adjust dashboard, the SDK sends a GET request to your callback URL when it records an event. diff --git a/src/content/docs/en/sdk/ios/features/events.mdx b/src/content/docs/en/sdk/ios/features/events.mdx index 7ed217a64..c3429b8dc 100644 --- a/src/content/docs/en/sdk/ios/features/events.mdx +++ b/src/content/docs/en/sdk/ios/features/events.mdx @@ -24,10 +24,6 @@ You can associate your [Adjust event tokens](https://help.adjust.com/en/article/ - - -### Example - This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. @@ -111,8 +107,6 @@ class ViewControllerSwift: UIViewController { - - ## Record event revenue You can record revenue associated with an event by setting the revenue and currency properties on your event instance. Use this feature to record revenue-generating actions in your app. @@ -133,8 +127,6 @@ Check the guide to [tracking purchases in different currencies](https://help.adj - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. The function sets the `revenue` property of this event to _`0.25`_ and the `currency` property to _`EUR`_. @@ -220,8 +212,6 @@ class ViewControllerSwift: UIViewController { - - ## Unique events You can pass an optional identifier to avoid recording duplicate events. The SDK stores the last ten identifiers and skips revenue events with duplicate transaction IDs. @@ -230,8 +220,6 @@ To set the identifier, call the `setTransactionId` method || - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. The function sets the `uniqueId` to `5e85484b-1ebc-4141-aab7-25b869e54c49` using the `setTransactionId` method || . @@ -321,8 +309,6 @@ class ViewControllerSwift: UIViewController { - - ## Add callback parameters If you [register a callback URL](https://help.adjust.com/en/article/set-up-callbacks) in the Adjust dashboard, the SDK sends a GET request to your callback URL when it records an event. @@ -355,8 +341,6 @@ You can read more about using URL callbacks, including a full list of available - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. The following callback parameters are added: @@ -457,8 +441,6 @@ class ViewControllerSwift: UIViewController { - - ## Add partner parameters You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/advanced-event-setup#receive-custom-data-with-partner-parameters). @@ -475,8 +457,6 @@ Add partner parameters to your event by calling the `addPartnerParamete - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. The following partner parameters are added: @@ -570,8 +550,6 @@ class ViewControllerSwift: UIViewController { - - ## Add a callback identifier You can add a custom string identifier to each event you want to measure. Adjust's servers can report on this identifier in event callbacks. This enables you to keep track of which events have been successfully measured. @@ -580,8 +558,6 @@ Set up this identifier by calling the `setCallbackId` method || - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. In this example, the `callbackId` is set to `f2e728d8-271b-49ab-80ea-27830a215147`. @@ -668,5 +644,3 @@ class ViewControllerSwift: UIViewController { - - diff --git a/src/content/docs/en/sdk/ios/index.mdx b/src/content/docs/en/sdk/ios/index.mdx index b82d74287..37ed4c86e 100644 --- a/src/content/docs/en/sdk/ios/index.mdx +++ b/src/content/docs/en/sdk/ios/index.mdx @@ -20,7 +20,7 @@ To add the SDK using Swift's package manager: ### Alternative installation methods - + ### Cocoapods @@ -41,7 +41,7 @@ pod 'Adjust/WebBridge', '~> v4.35.0' ``` - + ### Carthage @@ -52,7 +52,7 @@ github "adjust/ios_sdk" ``` - + ### Add as framework @@ -78,7 +78,8 @@ Choose the frameworks you need and add them to your `Xcode` project: Once you've added the Adjust SDK to your `Xcode` project, you need to integrate it in your app. - + + ### Cocoapods @@ -121,11 +122,78 @@ If you use the Adjust Web Bridge, add the following to your `AppDelegate.h` file - + + + +### Carthage + +Add the relevant import statements in your project files: + + + + +### Swift + +To import the Adjust SDK, add the following to your bridging header file: + +```objc +#import +``` + +If you use the Adjust Web Bridge, add the following to your bridging header file: + +```objc +#import +``` + +If you use the Adjust SDK in a tvOS app, add the following to your bridging header file: + +```objc +#import +``` + +If you use the Adjust SDK in a iMessage app, add the following to your bridging header file: + +```objc +#import +``` + + + + +### Objective-C + +To import the Adjust SDK, add the following to your `AppDelegate.h` file: + +```objc +#import +``` + +If you use the Adjust Web Bridge, add the following to your `AppDelegate.h` file: - +```objc +#import +``` -### Carthage and framework import +If you use the Adjust SDK in your tvOS app, add the following to your `AppDelegate.h` file: + +```objc +#import +``` + +If you use the Adjust SDK in your iMessage app, add the following to your `AppDelegate.h` file: + +```objc +#import +``` + + + + + + + +### Framework import Add the relevant import statements in your project files: @@ -190,7 +258,8 @@ If you use the Adjust SDK in your iMessage app, add the following to your `AppDe - + + ## 3. Add iOS frameworks diff --git a/src/content/docs/en/sdk/unity/configuration/att.mdx b/src/content/docs/en/sdk/unity/configuration/att.mdx index fdf74a748..8a7905152 100644 --- a/src/content/docs/en/sdk/unity/configuration/att.mdx +++ b/src/content/docs/en/sdk/unity/configuration/att.mdx @@ -47,8 +47,6 @@ The Adjust SDK also records the consent status if you use a custom prompt. If yo - - ### Example This example demonstrates how to log a human-readable description of the user's authorization status when they interact with a prompt. @@ -74,16 +72,12 @@ Adjust.requestTrackingAuthorizationWithCompletionHandler((status) => }); ``` - - ## Get current authorization status You can retrieve a user's current authorization status at any time. Call the `appTrackingAuthorizationStatus` method || to return the authorization status code as an **integer**. - - ### Example This example demonstrates how to collect the user's authorization status and convert it to a `String`. This information is assigned to a variable called `authorizationStatus` and passed as a session partner parameter with the key `"status"`. @@ -93,8 +87,6 @@ string authorizationStatus = Convert.ToString(Adjust.getAppTrackingAuthorization Adjust.addSessionPartnerParameter("status", authorizationStatus); ``` - - ## Check for authorization status changes If you use a custom ATT prompt, you need to inform the Adjust SDK of changes to the user's authorization status. Call the `checkForNewAttStatus` method || to send the authorization status to Adjust's servers. diff --git a/src/content/docs/en/sdk/unity/configuration/deep-links.mdx b/src/content/docs/en/sdk/unity/configuration/deep-links.mdx index aa5ec1dd5..538560978 100644 --- a/src/content/docs/en/sdk/unity/configuration/deep-links.mdx +++ b/src/content/docs/en/sdk/unity/configuration/deep-links.mdx @@ -84,8 +84,6 @@ adjustConfig.setDeferredDeeplinkDelegate(DeferredDeeplinkCallback); Adjust.start(adjustConfig); ``` - - ### Example This example demonstrates how to log a deep link address when the user opens a deferred deep link. @@ -101,8 +99,6 @@ adjustConfig.setDeferredDeeplinkDelegate(LogDeepLink); Adjust.start(adjustConfig); ``` - - ### Enable LinkMe The Adjust SDK lets you copy deep link information from the device pasteboard. When combined with Adjust’s LinkMe solution, this feature enables deferred deep linking on devices running iOS 15 and above. diff --git a/src/content/docs/en/sdk/unity/configuration/skad.mdx b/src/content/docs/en/sdk/unity/configuration/skad.mdx index 8b265a179..6d2328d7f 100644 --- a/src/content/docs/en/sdk/unity/configuration/skad.mdx +++ b/src/content/docs/en/sdk/unity/configuration/skad.mdx @@ -45,8 +45,6 @@ If you manage your conversion values with Adjust, the servers update this value - - ### Example This example demonstrates how to update a conversion value to `10` in response to a user triggering an event. @@ -57,16 +55,12 @@ public void OnButtonClick() { } ``` - - ## Listen for changes to conversion values If you use Adjust to manage conversion values, the Adjust's servers send conversion value updates to the SDK. You can set up a delegate function to listen for these changes using the `setConversionValueUpdatedDelegate` method. Pass your function as an argument. - - ### Example This example demonstrates how to log the following when the conversion value updates: @@ -94,5 +88,3 @@ public class ExampleGUI : MonoBehaviour { } } ``` - - diff --git a/src/content/docs/en/sdk/unity/features/ad-revenue.mdx b/src/content/docs/en/sdk/unity/features/ad-revenue.mdx index 5c1b4027b..30693e358 100644 --- a/src/content/docs/en/sdk/unity/features/ad-revenue.mdx +++ b/src/content/docs/en/sdk/unity/features/ad-revenue.mdx @@ -77,46 +77,30 @@ Check the [guide to tracking purchases in different currencies](https://help.adj The ad revenue object contains properties you can use to report on your ad campaigns. - - ### Ad impressions Record the number of ad impressions by passing an **integer** value to the `setAdImpressionsCount` method || . - - - - ### Ad revenue network Record which network generated the revenue by passing a **string** value to the `setAdRevenueNetwork` method || . - - - - ### Ad revenue unit Record which ad revenue unit generated the revenue by passing a **string** value to the `setAdRevenueUnit` method || . - - - - ### Ad revenue placement Record the placement of your ad by passing a **string** value to the `setAdRevenuePlacement` method || . - - ## Add callback parameters If you [register a callback URL](https://help.adjust.com/en/article/recommended-placeholders-callbacks) in the Adjust dashboard, the SDK sends a GET request to your callback URL when it records an event. diff --git a/src/content/docs/en/sdk/unity/features/callbacks.mdx b/src/content/docs/en/sdk/unity/features/callbacks.mdx index 99d6f32e6..5780b2b0c 100644 --- a/src/content/docs/en/sdk/unity/features/callbacks.mdx +++ b/src/content/docs/en/sdk/unity/features/callbacks.mdx @@ -41,8 +41,6 @@ Set up success callbacks to trigger functions when the SDK records a session. - - ### Example This example demonstrates how to created a callback function `sessionSuccess` and register it as a **success** callback. The function logs the timestamp at which the SDK recorded the session. @@ -59,16 +57,12 @@ public void sessionSuccess (AdjustSessionSuccess sessionSuccessData) { } ``` - - ### Failure callbacks Set up failure callbacks to trigger functions when the SDK fails to record a session. - - ### Example This example demonstrates how to created a callback function `sessionFailure` and register it as a **failure** callback. The function logs the session failure message. @@ -85,8 +79,6 @@ public void sessionFailure (AdjustSessionFailure sessionFailureData) { } ``` - - ## Event callbacks Set up event callbacks to trigger functions when the SDK sends event information. You can create **success** callbacks and **failure** callbacks. **Success** callbacks trigger when the SDK sends information to Adjust's servers. **Failure** callbacks trigger when the SDK encounters a problem while sending the information. @@ -113,8 +105,6 @@ Set up success callbacks to trigger functions when the SDK records an event. - - ### Example This example demonstrates how to created a callback function `eventSuccess` and register it as a **success** callback. The function logs the timestamp at which the SDK recorded the event. @@ -131,16 +121,12 @@ public void eventSuccess (AdjustEventSuccess eventSuccessData) { } ``` - - ### Failure callbacks Set up failure callbacks to trigger functions when the SDK fails to record an event. - - ### Example This example demonstrates how to created a callback function `eventFailure` and register it as a **failure** callback. The function logs the event failure message. @@ -156,5 +142,3 @@ public void eventFailure (AdjustEventFailure eventFailureData) { Debug.Log("Event recording failed. Response: " + eventFailureData.Message); } ``` - - diff --git a/src/content/docs/en/sdk/unity/features/events.mdx b/src/content/docs/en/sdk/unity/features/events.mdx index 007b746eb..a149ed7c3 100644 --- a/src/content/docs/en/sdk/unity/features/events.mdx +++ b/src/content/docs/en/sdk/unity/features/events.mdx @@ -24,8 +24,6 @@ You can associate your [Adjust event tokens](https://help.adjust.com/en/article/ - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. @@ -37,8 +35,6 @@ if (GUI.Button(new Rect(0, Screen.height * 1 / numberOfButtons, Screen.width, Sc } ``` - - ## Record event revenue You can record revenue associated with an event by setting the revenue and currency properties on your event instance. Use this feature to record revenue-generating actions in your app. @@ -59,8 +55,6 @@ Check the guide to [tracking purchases in different currencies](https://help.adj - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. The function sets the `revenue` property of this event to _`0.25`_ and the `currency` property to _`EUR`_. @@ -73,8 +67,6 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc } ``` - - ## Unique events You can pass an optional identifier to avoid recording duplicate events. The SDK stores the last ten identifiers and skips revenue events with duplicate transaction IDs. @@ -83,8 +75,6 @@ To set the identifier, call the `setTransactionId` method || - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. The function sets the `uniqueId` to `5e85484b-1ebc-4141-aab7-25b869e54c49` using the `setTransactionId` method || . @@ -98,8 +88,6 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc } ``` - - ## Add callback parameters If you [register a callback URL](https://help.adjust.com/en/article/set-up-callbacks) in the Adjust dashboard, the SDK sends a GET request to your callback URL when it records an event. @@ -132,8 +120,6 @@ You can read more about using URL callbacks, including a full list of available - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. The following callback parameters are added: @@ -156,8 +142,6 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc } ``` - - ## Add partner parameters You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/advanced-event-setup#receive-custom-data-with-partner-parameters). @@ -174,8 +158,6 @@ Add partner parameters to your event by calling the `addPartnerParamete - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. The following partner parameters are added: @@ -192,8 +174,6 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc } ``` - - ## Add a callback identifier You can add a custom string identifier to each event you want to measure. Adjust's servers can report on this identifier in event callbacks. This enables you to keep track of which events have been successfully measured. @@ -202,8 +182,6 @@ Set up this identifier by calling the `setCallbackId` method || - - ### Example This example demonstrates how to record an event with the token `g3mfiw` whenever a user interacts with a button. In this example, the `callbackId` is set to `f2e728d8-271b-49ab-80ea-27830a215147`. @@ -216,5 +194,3 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc Adjust.trackEvent(adjustEvent); } ``` - - diff --git a/src/content/docs/en/sdk/unity/index.mdx b/src/content/docs/en/sdk/unity/index.mdx index 8f252b7fc..45ab65051 100644 --- a/src/content/docs/en/sdk/unity/index.mdx +++ b/src/content/docs/en/sdk/unity/index.mdx @@ -55,11 +55,12 @@ Adjust.start(adjustConfig); Apps that target the Google Play Store must use the gps_adid (Google Advertising ID) to identify devices. You need to add the `play-services-ads-identifier` AAR to your project to access the `gps_adid`. - + + -### Google External Dependency Manager +### External Dependency Manager -If you are using the [Google External Dependency Manager plugin](https://developers.google.com/unity/archive#external_dependency_manager_for_unity), add the following to your `Dependencies.xml` file: +If you are using the [External Dependency Manager plugin](https://developers.google.com/unity/archive#external_dependency_manager_for_unity), add the following to your `Dependencies.xml` file: ```xml @@ -67,23 +68,24 @@ If you are using the [Google External Dependency Manager plugin](https://develop ``` - - - + + ### Manual installation To install the ARR (Android Archive) manually, [download it from Maven](https://maven.google.com/web/index.html#com.google.android.gms:play-services-ads-identifier:18.0.1 "A link to the AAR artifact on Maven.") and add it to the `Assets/Plugins/Android` directory. - + + ### Collect App Set Identifier The [App Set Identifier](https://developer.android.com/design-for-safety/privacy-sandbox/reference/adservices/appsetid/AppSetId) is a unique identifier that enables you to measure information from any of your apps that a user has installed on their device. All apps by the same developer share the same App Set ID, meaning you can gather meaningful insights from users across all your apps. - + + -### Google External Dependency Manager +### External Dependency Manager To record a device's App Set ID, you need to add the following dependency to your `Dependencies.xml` file: @@ -93,15 +95,15 @@ To record a device's App Set ID, you need to add the following dependency to you ``` - - - + + ### Manual installation To install the ARR (Android Archive) manually, [download it from Maven](https://maven.google.com/web/index.html#com.google.android.gms:play-services-appset:16.0.2 "A link to the AAR artifact on Maven.") and add it to the `Assets/Plugins/Android` directory. - + + ### Set up Proguard @@ -129,7 +131,8 @@ The install referrer is a unique identifier which you can use to attribute an ap - Use the [Google Play Referrer API](https://developer.android.com/google/play/installreferrer). - Use the Huawei Referrer API. - + + ### Google Play Referrer API @@ -145,15 +148,15 @@ dependencies { 2. Download the install referrer library from [Maven](https://maven.google.com/web/index.html?q=install#com.android.installreferrer:installreferrer) and put the ARR (Android Archive) file in your `Plugins/Android` folder. - - - + + ### Huawei Referrer API As of v4.21.1, the Adjust SDK supports install tracking on Huawei devices using Huawei App Gallery v10.4 and later. You don't need to make any changes to start using the Huawei Referrer API. - + + ## 4. Build your app @@ -163,7 +166,8 @@ This process is performed by the `OnPostprocessBuild` method in `AdjustEditor.cs ![A screenshot of the Adjust SDK post-build configuration script in the Unity editor.](https://images.ctfassets.net/5s247im0esyq/5yFmvFN4y3LJSieJQcF4qE/bad5913682af34cfe61224daca312373/post-build-unity.png) - + + ### iOS @@ -178,52 +182,74 @@ The iOS post-build process makes the following changes to your generated Xcode p - Adds the other linker flag `-ObjC`: required to recognize Adjust Objective-C categories at build time. - Enables Objective-C exceptions. -### Frameworks +#### Frameworks You can enable the following frameworks to access iOS features: -- AdServices.framework: required for Apple Search Ads tracking -- AdSupport.framework: required to read the device IDFA -- AppTrackingTransparency.framework: required to ask for user's consent to be tracked and obtain consent status -- StoreKit.framework: required to communicate with the SKAdNetwork framework. -- iAd.framework - **Deprecated**. Use `AdServices.framework` +AdServices.framework +: Required for Apple Search Ads tracking + +AdSupport.framework +: Required to read the device IDFA + +AppTrackingTransparency.framework +: Required to ask for user's consent to be tracked and obtain consent status + +StoreKit.framework +: Required to communicate with the SKAdNetwork framework. -### App Tracking Transparency consent dialog +iAd.framework Deprecated +: Use `AdServices.framework` + +#### App Tracking Transparency consent dialog If you are using the ATT (App Tracking Transparency) wrapper, enter a **User Tracking Description** message. This displays when you present the tracking consent dialog to your user. -### Deep linking +#### Deep linking To enable deep linking, add the following information: -- iOS Universal Links Domain: the associated domain used for universal links. -- iOS URL Identifier: your app's bundle ID. -- iOS URL Schemes: the URL scheme associated with your app. +iOS Universal Links Domain +: The associated domain used for universal links. + +iOS URL Identifier +: Your app's bundle ID. - +iOS URL Schemes +: The URL scheme associated with your app. - + + ### Android The Android post-build process checks for an `AndroidManifest.xml` file in `Assets/Plugins/Android/`. If this file isn't present, it creates a copy from [`AdjustAndroidManifest.xml`](https://github.com/adjust/unity_sdk/blob/master/Assets/Adjust/Android/AdjustAndroidManifest.xml "A link to the AdjustAndroidManifest file on GitHub"). -### Permissions +#### Permissions You can enable the following permissions to access Android features: -- android.permission.INTERNET: required to connect to the internet. -- android.permission.ACCESS_NETWORK_STATE: required to read the type of network the device is connected to. -- com.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE: **Deprecated**. Required to fetch install referrer information via Google Play Store intent. -- com.google.android.gms.permission.AD_ID: required to read the device advertising ID on Android 12 (API level 31) and above. See [Google's `AdvertisingIdClient.info` documentation](https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info#public-string-getid) for more information. +android.permission.INTERNET +: Required to connect to the internet. + +android.permission.ACCESS_NETWORK_STATE +: Required to read the type of network the device is connected to. -### Deep linking +com.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE Deprecated +: Required to fetch install referrer information via Google Play Store intent. + +com.google.android.gms.permission.AD_ID +: Required to read the device advertising ID on Android 12 (API level 31) and above. See [Google's `AdvertisingIdClient.info` documentation](https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info#public-string-getid) for more information. + +#### Deep linking To enable deep linking, add the following information: -- Android URI Schemes: the destination of your deep link. +Android URI Schemes +: The destination of your deep link. - + + ## 5. Add the Adjust SDK signature @@ -233,24 +259,20 @@ To get started with the Adjust SDK signature, contact your Technical Account Man ## 6. Test your integration -The Adjust SDK provides tools for testing and troubleshooting issues with your integration. To test your setup: - -- Set your environment to **Sandbox**. -- Add a sandbox filter to your Adjust dashboard results. -- Set your [log level](/en/sdk/unity/configuration/log-level) to **verbose**. - If you encounter any issues, email support@adjust.com with all details and logs. - +The Adjust SDK provides tools for testing and troubleshooting issues with your integration. To test your setup: + +- Set your environment to **Sandbox**. +- Add a sandbox filter to your Adjust dashboard results. +- Set your [log level](/en/sdk/unity/configuration/log-level) to **verbose**. ### Test Google Play Services integration To test that the Adjust SDK can receive a device's Google Advertising ID, set the [log level](/en/sdk/unity/configuration/log-level) to **verbose** and the environment to **Sandbox**. Start your app and measure a `session` or an event. The SDK logs the gps_adid (Google Play Services Advertiser ID) parameter if it has read the advertising ID. If you are having issues retrieving the Google Advertising ID, open an issue in the [GitHub repository](https://github.com/adjust/unity_sdk) or contact support@adjust.com. - - diff --git a/src/content/docs/en/sdk/web/features/events.mdx b/src/content/docs/en/sdk/web/features/events.mdx index 2f5402ffe..fc6adfd92 100644 --- a/src/content/docs/en/sdk/web/features/events.mdx +++ b/src/content/docs/en/sdk/web/features/events.mdx @@ -15,8 +15,6 @@ You can associate your [Adjust event tokens](https://help.adjust.com/en/article/ - - ### Example This example demonstrates how to record an event with the token _`g3mfiw`_ whenever a user interacts with a button. @@ -49,8 +47,6 @@ _timeoutId = setTimeout(() => { ``` - - ## Record event revenue You can record revenue associated with an event by setting the `revenue` and `currency` properties on your event instance. Use this feature to record revenue-generating actions in your app. @@ -79,8 +75,6 @@ Adjust.trackEvent({ }); ``` - - ### Example This example demonstrates how to record an event with the token _`g3mfiw`_ whenever a user interacts with a button. The function sets the `revenue` property of this event to _`0.25`_ and the `currency` property to _`EUR`_. @@ -114,8 +108,6 @@ _timeoutId = setTimeout(() => { } ``` - - ## Unique events You can pass an optional identifier to avoid measuring duplicate events. The SDK stores the last 10 identifiers and skips revenue events with duplicate transaction IDs. @@ -129,8 +121,6 @@ Adjust.trackEvent({ }); ``` - - ### Example This example demonstrates how to record an event with the token _`g3mfiw`_ whenever a user interacts with a button. The function sets the `deduplicationId` to _`5e85484b-1ebc-4141-aab7-25b869e54c49`_. @@ -164,8 +154,6 @@ _timeoutId = setTimeout(() => { ``` - - You can override the deduplication limit to change the number of identifiers the Adjust SDK stores. To do this, specify the new limit in the `eventDeduplicationListLimit` argument of the `initSdk` method || . ```js {4} @@ -216,8 +204,6 @@ You can read more about using URL callbacks, including a full list of available - - ### Example This example demonstrates how to record an event with the token _`g3mfiw`_ whenever a user interacts with a button. The following callback parameters are added: @@ -262,8 +248,6 @@ _timeoutId = setTimeout(() => { } ``` - - ## Add partner parameters You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/advanced-event-setup#receive-custom-data-with-partner-parameters). @@ -288,8 +272,6 @@ Adjust.trackEvent({ }); ``` - - ### Example This example demonstrates how to record an event with the token _`g3mfiw`_ whenever a user interacts with a button. The following partner parameters are added: @@ -329,8 +311,6 @@ _timeoutId = setTimeout(() => { ``` - - ## Record event and redirect to an external page You can record redirects to external pages as events with the Adjust SDK. To ensure the SDK records the event before the redirect happens, the `trackEvent` method || returns a [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). This `Promise` is fulfilled after the SDK receives a response from Adjust's servers. If an internal error response is returned, the `Promise` is rejected. @@ -343,8 +323,6 @@ The promise can take a long time to resolve. Adding a timeout is recommended. The Adjust SDK saves events to an internal queue. This means that even if your request times out or an error occurs, the SDK preserves the event to retry later. - - ### Example ```javascript @@ -365,5 +343,3 @@ Promise.race([ window.location.href = "https://www.example.org/"; }); ``` - - diff --git a/src/content/docs/en/sdk/web/reference/adjust/recording.mdx b/src/content/docs/en/sdk/web/reference/adjust/recording.mdx index d7825a29f..984237e58 100644 --- a/src/content/docs/en/sdk/web/reference/adjust/recording.mdx +++ b/src/content/docs/en/sdk/web/reference/adjust/recording.mdx @@ -34,6 +34,7 @@ import TrackEvent from "@web-examples/Adjust/trackEvent.mdx" : Your Adjust event parameters. + ### EventParams `eventToken` (string) diff --git a/src/styles/index.css b/src/styles/index.css index bf3b05fc4..12b440e8b 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -191,7 +191,7 @@ article ul { } } -article ul li:not(#tabs-container li)::before { +article ul li:not([role=tab])::before { content: "•"; font-weight: 500; position: absolute;