You can integrate the Adjust Android SDK with Criteo events by using the Adjust Criteo plugin.
Set up your environment
Maven
If you are using Maven, add the following dependency to your build.gradle file:
Add as JAR
You can also add the plugin as a JAR file from the releases page.
Work with Criteo events
Once you have set up your environment, you can start recording Criteo events with the Adjust SDK.
View listing
View product
Cart
Transaction confirmed
User level
User status
Achievement unlocked
Custom event
Custom event 2
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.
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.
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.
Send deep link
You can add deep link information to Criteo events. To do this, call the injectDeeplinkIntoEvent method with the event and URL.
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.
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.