diff --git a/src/content/docs/en/sdk/flutter/features/events.mdx b/src/content/docs/en/sdk/flutter/features/events.mdx index f7c8535a2..b24e5878d 100644 --- a/src/content/docs/en/sdk/flutter/features/events.mdx +++ b/src/content/docs/en/sdk/flutter/features/events.mdx @@ -58,6 +58,55 @@ Util.buildCupertinoButton('Track Simple Event', const Padding(padding: const EdgeInsets.all(7.0)) ``` +```txt collapse={6-46} title="Event log" +Path: /event +ClientSdk: flutter4.38.0 +Parameters: + android_uuid 781f17d5-5048-4fae-a4e5-77b58bab62b9 + api_level 34 + app_token 2fm9gkqubvpc + app_version 1.0 + attribution_deeplink 1 + callback_params {"key":"value","foo":"bar"} + connectivity_type 1 + country US + cpu_type arm64-v8a + created_at 2024-01-25T14:13:16.151Z+0100 + currency EUR + device_manufacturer Google + device_name sdk_gphone64_arm64 + device_type phone + display_height 2205 + display_width 1080 + environment sandbox + event_buffering_enabled 0 + event_count 3 + event_token g3mfiw + gps_adid 5962dfc1-3a53-4692-850b-22c4bf4311a5 + gps_adid_attempt 2 + gps_adid_src service + hardware_name UE1A.230829.036 + language en + mcc 310 + mnc 260 + needs_response_details 1 + os_build UE1A.230829.036 + os_name android + os_version 14 + package_name com.adjust.examples + partner_params {"key":"value","foo":"bar"} + revenue 0.25 + screen_density high + screen_format long + screen_size normal + session_count 2 + session_length 23 + subsession_count 1 + time_spent 23 + tracking_enabled 1 + ui_mode 1 +``` + ## 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. @@ -116,6 +165,17 @@ Util.buildCupertinoButton('Track Revenue Event', const Padding(padding: const EdgeInsets.all(7.0)) ``` +```txt title="Event log" {7,8} +Path: /event +ClientSdk: flutter4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token abc123 + revenue 0.25 + currency EUR +``` + ## 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. @@ -161,7 +221,16 @@ import 'util.dart'; Util.buildCupertinoButton('Track Revenue Event', () => Adjust.trackEvent(Util.myAdjustEvent())), const Padding(padding: const EdgeInsets.all(7.0)) +``` +```txt title="Event log" {7} +Path: /event +ClientSdk: flutter4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token abc123 + transaction_id 5e85484b-1ebc-4141-aab7-25b869e54c49 ``` ## Add callback parameters @@ -244,6 +313,16 @@ Util.buildCupertinoButton('Track Callback Event', const Padding(padding: const EdgeInsets.all(7.0)) ``` +```txt {4} title="Event log" +Path: /event +ClientSdk: flutter4.38.0 +Parameters: + callback_params {"event_token":"g3mfiw","revenue_amount":"0.05"} + environment sandbox + event_count 1 + event_token g3mfiw +``` + ## Add partner parameters You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/data-sharing-ad-network#map-parameters). @@ -302,6 +381,16 @@ Util.buildCupertinoButton('Track Partner Event', const Padding(padding: const EdgeInsets.all(7.0)) ``` +```txt title="Event log" {4} +Path: /event +ClientSdk: flutter4.38.0 +Parameters: + partner_params {"product_id":"29","user_id":"835"} + environment sandbox + event_count 1 + event_token g3mfiw +``` + ## 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. @@ -345,3 +434,13 @@ Util.buildCupertinoButton('Track Callback Event', () => Adjust.trackEvent(Util.myAdjustEvent())), const Padding(padding: const EdgeInsets.all(7.0)) ``` + +```txt title="Event log" {7} +Path: /event +ClientSdk: flutter4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token g3mfiw + callback_id f2e728d8-271b-49ab-80ea-27830a215147 +``` diff --git a/src/content/docs/en/sdk/ios/features/events.mdx b/src/content/docs/en/sdk/ios/features/events.mdx index ca162a72e..4a870cd46 100644 --- a/src/content/docs/en/sdk/ios/features/events.mdx +++ b/src/content/docs/en/sdk/ios/features/events.mdx @@ -101,6 +101,49 @@ class ViewControllerSwift: UIViewController { +```txt collapse={6-40} title="Event log" +Path: /event +ClientSdk: ios4.38.0 +Parameters: + app_token 2fm9gkqubvpc + app_version 1.0 + attribution_deeplink 1 + callback_params {"key":"value","foo":"bar"} + connectivity_type 1 + country US + cpu_type arm64-v8a + created_at 2024-01-25T14:13:16.151Z+0100 + currency EUR + device_manufacturer Apple + device_type phone + display_height 2205 + display_width 1080 + environment sandbox + event_buffering_enabled 0 + event_count 3 + event_token g3mfiw + hardware_name UE1A.230829.036 + language en + mcc 310 + mnc 260 + needs_response_details 1 + os_build UE1A.230829.036 + os_name ios + os_version 14 + package_name com.adjust.examples + partner_params {"key":"value","foo":"bar"} + revenue 0.25 + screen_density high + screen_format long + screen_size normal + session_count 2 + session_length 23 + subsession_count 1 + time_spent 23 + tracking_enabled 1 + ui_mode 1 +``` + ## 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. @@ -202,6 +245,17 @@ class ViewControllerSwift: UIViewController { +```txt title="Event log" {7,8} +Path: /event +ClientSdk: ios4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token abc123 + revenue 0.25 + currency EUR +``` + ## 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. @@ -293,6 +347,16 @@ class ViewControllerSwift: UIViewController { +```txt title="Event log" {7} +Path: /event +ClientSdk: ios4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token abc123 + transaction_id 5e85484b-1ebc-4141-aab7-25b869e54c49 +``` + ## 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. @@ -419,6 +483,16 @@ class ViewControllerSwift: UIViewController { +```txt {4} title="Event log" +Path: /event +ClientSdk: ios4.38.0 +Parameters: + callback_params {"event_token":"g3mfiw","revenue_amount":"0.05"} + environment sandbox + event_count 1 + event_token g3mfiw +``` + ## Add partner parameters You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/data-sharing-ad-network#map-parameters). @@ -522,6 +596,16 @@ class ViewControllerSwift: UIViewController { +```txt title="Event log" {4} +Path: /event +ClientSdk: ios4.38.0 +Parameters: + partner_params {"product_id":"29","user_id":"835"} + environment sandbox + event_count 1 + event_token g3mfiw +``` + ## 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. @@ -610,3 +694,13 @@ class ViewControllerSwift: UIViewController { + +```txt title="Event log" {7} +Path: /event +ClientSdk: ios4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token g3mfiw + callback_id f2e728d8-271b-49ab-80ea-27830a215147 +``` diff --git a/src/content/docs/en/sdk/react-native/features/events.mdx b/src/content/docs/en/sdk/react-native/features/events.mdx index b9484afa6..7a03cca06 100644 --- a/src/content/docs/en/sdk/react-native/features/events.mdx +++ b/src/content/docs/en/sdk/react-native/features/events.mdx @@ -87,6 +87,55 @@ function _onPress_trackRevenueEvent() { ; ``` +```txt collapse={6-46} title="Event log" +Path: /event +ClientSdk: reactnative4.38.0 +Parameters: + android_uuid 781f17d5-5048-4fae-a4e5-77b58bab62b9 + api_level 34 + app_token 2fm9gkqubvpc + app_version 1.0 + attribution_deeplink 1 + callback_params {"key":"value","foo":"bar"} + connectivity_type 1 + country US + cpu_type arm64-v8a + created_at 2024-01-25T14:13:16.151Z+0100 + currency EUR + device_manufacturer Google + device_name sdk_gphone64_arm64 + device_type phone + display_height 2205 + display_width 1080 + environment sandbox + event_buffering_enabled 0 + event_count 3 + event_token g3mfiw + gps_adid 5962dfc1-3a53-4692-850b-22c4bf4311a5 + gps_adid_attempt 2 + gps_adid_src service + hardware_name UE1A.230829.036 + language en + mcc 310 + mnc 260 + needs_response_details 1 + os_build UE1A.230829.036 + os_name android + os_version 14 + package_name com.adjust.examples + partner_params {"key":"value","foo":"bar"} + revenue 0.25 + screen_density high + screen_format long + screen_size normal + session_count 2 + session_length 23 + subsession_count 1 + time_spent 23 + tracking_enabled 1 + ui_mode 1 +``` + ## 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. @@ -119,6 +168,16 @@ function _onPress_trackRevenueEvent() { ; ``` +```txt title="Event log" {7} +Path: /event +ClientSdk: reactnative4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token abc123 + transaction_id 5e85484b-1ebc-4141-aab7-25b869e54c49 +``` + ## 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. @@ -184,6 +243,16 @@ function _onPress_trackCallbackEvent() { ; ``` +```txt {4} title="Event log" +Path: /event +ClientSdk: reactnative4.38.0 +Parameters: + callback_params {"event_token":"g3mfiw","revenue_amount":"0.05"} + environment sandbox + event_count 1 + event_token g3mfiw +``` + ## Add partner parameters You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/data-sharing-ad-network#map-parameters). @@ -227,6 +296,16 @@ function _onPress_trackPartnerEvent() { ; ``` +```txt title="Event log" {4} +Path: /event +ClientSdk: reactnative4.38.0 +Parameters: + partner_params {"product_id":"29","user_id":"835"} + environment sandbox + event_count 1 + event_token g3mfiw +``` + ## 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. @@ -259,3 +338,13 @@ function _onPress_trackUniqueCallbackEvent() { ; ``` + +```txt title="Event log" {7} +Path: /event +ClientSdk: reactnative4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token g3mfiw + callback_id f2e728d8-271b-49ab-80ea-27830a215147 +``` diff --git a/src/content/docs/en/sdk/unity/features/events.mdx b/src/content/docs/en/sdk/unity/features/events.mdx index b6159a379..10260d28e 100644 --- a/src/content/docs/en/sdk/unity/features/events.mdx +++ b/src/content/docs/en/sdk/unity/features/events.mdx @@ -35,6 +35,55 @@ if (GUI.Button(new Rect(0, Screen.height * 1 / numberOfButtons, Screen.width, Sc } ``` +```txt collapse={6-46} title="Event log" +Path: /event +ClientSdk: unity4.38.0 +Parameters: + android_uuid 781f17d5-5048-4fae-a4e5-77b58bab62b9 + api_level 34 + app_token 2fm9gkqubvpc + app_version 1.0 + attribution_deeplink 1 + callback_params {"key":"value","foo":"bar"} + connectivity_type 1 + country US + cpu_type arm64-v8a + created_at 2024-01-25T14:13:16.151Z+0100 + currency EUR + device_manufacturer Google + device_name sdk_gphone64_arm64 + device_type phone + display_height 2205 + display_width 1080 + environment sandbox + event_buffering_enabled 0 + event_count 3 + event_token g3mfiw + gps_adid 5962dfc1-3a53-4692-850b-22c4bf4311a5 + gps_adid_attempt 2 + gps_adid_src service + hardware_name UE1A.230829.036 + language en + mcc 310 + mnc 260 + needs_response_details 1 + os_build UE1A.230829.036 + os_name android + os_version 14 + package_name com.adjust.examples + partner_params {"key":"value","foo":"bar"} + revenue 0.25 + screen_density high + screen_format long + screen_size normal + session_count 2 + session_length 23 + subsession_count 1 + time_spent 23 + tracking_enabled 1 + ui_mode 1 +``` + ## 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. @@ -67,6 +116,17 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc } ``` +```txt title="Event log" {7,8} +Path: /event +ClientSdk: unity4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token abc123 + revenue 0.25 + currency EUR +``` + ## 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. @@ -88,6 +148,16 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc } ``` +```txt title="Event log" {7} +Path: /event +ClientSdk: unity4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token abc123 + transaction_id 5e85484b-1ebc-4141-aab7-25b869e54c49 +``` + ## 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. @@ -142,6 +212,16 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc } ``` +```txt {4} title="Event log" +Path: /event +ClientSdk: unity4.38.0 +Parameters: + callback_params {"event_token":"g3mfiw","revenue_amount":"0.05"} + environment sandbox + event_count 1 + event_token g3mfiw +``` + ## Add partner parameters You can send extra information to your network partners by adding [partner parameters](https://help.adjust.com/en/article/data-sharing-ad-network#map-parameters). @@ -174,6 +254,16 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc } ``` +```txt title="Event log" {4} +Path: /event +ClientSdk: unity4.38.0 +Parameters: + partner_params {"product_id":"29","user_id":"835"} + environment sandbox + event_count 1 + event_token g3mfiw +``` + ## 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. @@ -194,3 +284,13 @@ if (GUI.Button(new Rect(0, Screen.height * 2 / numberOfButtons, Screen.width, Sc Adjust.trackEvent(adjustEvent); } ``` + +```txt title="Event log" {7} +Path: /event +ClientSdk: unity4.38.0 +Parameters: + environment sandbox + event_count 3 + event_token g3mfiw + callback_id f2e728d8-271b-49ab-80ea-27830a215147 +```