diff --git a/src/content/docs/sdk/android/plugins/criteo.mdx b/src/content/docs/sdk/android/plugins/criteo.mdx index c09b3ce07..747339997 100644 --- a/src/content/docs/sdk/android/plugins/criteo.mdx +++ b/src/content/docs/sdk/android/plugins/criteo.mdx @@ -29,9 +29,6 @@ Once you have set up your environment, you can start recording Criteo events wit ### View listing - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -41,14 +38,8 @@ AdjustCriteo.injectViewListingIntoEvent(event, productIds); Adjust.trackEvent(event); ``` - - - ### View product - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -57,14 +48,8 @@ AdjustCriteo.injectViewProductIntoEvent(event, "productId1"); Adjust.trackEvent(event); ``` - - - ### Cart - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -78,14 +63,8 @@ AdjustCriteo.injectCartIntoEvent(event, products); Adjust.trackEvent(event); ``` - - - ### Transaction confirmed - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -99,14 +78,8 @@ AdjustCriteo.injectTransactionConfirmedIntoEvent(event, products, "transactionId Adjust.trackEvent(event); ``` - - - ### User level - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -115,14 +88,8 @@ AdjustCriteo.injectUserLevelIntoEvent(event, 1); Adjust.trackEvent(event); ``` - - - ### User status - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -131,31 +98,18 @@ AdjustCriteo.injectUserStatusIntoEvent(event, "uiStatusValue"); Adjust.trackEvent(event); ``` - - - ### Achievement unlocked - - - -````java +```java import com.adjust.sdk.plugin.AdjustCriteo; AdjustEvent event = new AdjustEvent("{achievementUnlockedEventToken}"); AdjustCriteo.injectAchievementUnlockedIntoEvent(event, "AchievementUnlocked"); Adjust.trackEvent(event); -```t.trackEvent(event); -```` - - - +``` ### Custom event - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -164,14 +118,8 @@ AdjustCriteo.injectCustomEventIntoEvent(event, "uiDataValue"); Adjust.trackEvent(event); ``` - - - ### Custom event 2 - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -180,68 +128,44 @@ AdjustCriteo.injectCustomEvent2IntoEvent(event, "uiData2Value", 3); Adjust.trackEvent(event); ``` - - - ### Hashed email You can attach a hashed email to every Criteo event. To do this, call the `injectHashedEmailIntoCriteoEvents` method. The SDK will send a hashed email with every Criteo event throughout the app lifecycle. This means it will need to be set again when the app is re-launched. You can remove the hashed email by setting the `injectHashedEmailIntoCriteoEvents` value to `nil`. - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; AdjustCriteo.injectHashedEmailIntoCriteoEvents("8455938a1db5c475a87d76edacb6284e"); ``` - - - ### Search dates You can attach a check-in and check-out date to every Criteo event. To do this, call the `injectViewSearchDatesIntoCriteoEvent` method. The SDK will send the dates with every Criteo event throughout the app lifecycle. This means you will need to set them again when the app is re-launched. You can remove the search dates by setting the `injectViewSearchDatesIntoCriteoEvent` values to `nil`. - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; AdjustCriteo.injectViewSearchDatesIntoCriteoEvents("2015-01-01", "2015-01-07"); ``` - - - ### Partner ID You can attach a partner ID to every Criteo event. To do this, call the `injectPartnerIdIntoCriteoEvents` method. The SDK will send the partner ID with every Criteo throughout the app lifecycle. This means you will need to set it again when the app is re-launched. You can remove the partner ID by setting the `injectPartnerIdIntoCriteoEvents` value to null. - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; AdjustCriteo.injectPartnerIdIntoCriteoEvents("{CriteoPartnerId}"); ``` - - - ### Send deep link You can add deep link information to Criteo events. To do this, call the `injectDeeplinkIntoEvent` method with the event and URL. - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; @@ -257,41 +181,26 @@ protected void onCreate(Bundle savedInstanceState) { } ``` - - - ### Customer ID You can attach a customer ID to every Criteo event. To do this, call the `injectCustomerIdIntoCriteoEvents` method. The SDK will send the customer ID with every Criteo event throughout the app lifecycle. This means you will need to set them again when the app is re-launched. You can remove the customer ID by setting the `injectCustomerIdIntoCriteoEvents` value to nil. - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; AdjustCriteo.injectCustomerIdIntoCriteoEvents("{CriteoCustomerId}"); ``` - - - ### User segment You can attach the user segment to every Criteo event. To do this, call the `injectUserSegmentIntoCriteoEvents` method. The SDK will send the user segment with every Criteo event throughout the app lifecycle. This means you will need to set it again when the app is re-launched. You can remove the user segment by setting the `injectUserSegmentIntoCriteoEvents` value to nil. - - - ```java import com.adjust.sdk.plugin.AdjustCriteo; AdjustCriteo.injectUserSegmentIntoCriteoEvents("{CriteoUserSegment}"); ``` - - - diff --git a/src/content/docs/sdk/android/plugins/facebook-pixel.mdx b/src/content/docs/sdk/android/plugins/facebook-pixel.mdx index 7fd00def9..49c606364 100644 --- a/src/content/docs/sdk/android/plugins/facebook-pixel.mdx +++ b/src/content/docs/sdk/android/plugins/facebook-pixel.mdx @@ -48,7 +48,7 @@ Follow Facebook's guide on how to integrate the Facebook pixel. The Javascript c ... @@ -57,9 +57,13 @@ Follow Facebook's guide on how to integrate the Facebook pixel. The Javascript c Next, update your Facebook pixel code. You can find the instructions in the [Hybrid Mobile App Events guide](https://developers.facebook.com/docs/app-events/hybrid-app-events) under **Update Your Pixel**. -```js -fbq('init', ); -fbq('set', 'mobileBridge', , ); +```html + ``` diff --git a/src/content/docs/sdk/android/plugins/oaid-plugin.mdx b/src/content/docs/sdk/android/plugins/oaid-plugin.mdx index 183645031..46215efcf 100644 --- a/src/content/docs/sdk/android/plugins/oaid-plugin.mdx +++ b/src/content/docs/sdk/android/plugins/oaid-plugin.mdx @@ -8,7 +8,7 @@ The Open Anonymous Device Identifier (OAID) is a unique identifier for Android d The OAID plugin provides the OAID of a device. The SDK will continue to use other identifiers as well as the OAID. The OAID is readable on all devices using the MSA SDK or Huawei Mobile Service (HMS) Core SDK on Huawei devices. -## Add the OAID plugin to your app +## Add the plugin to your app ### Maven