You can integrate the Adjust iOS SDK with Criteo events by using the Adjust Criteo plugin.
Set up your environment
Add the following line to your Podfile:
Add following line to your Cartfile:
Install from source
You can also integrate adjust with Criteo events by following these steps:
Locate the plugin/Criteo folder inside the downloaded archive from the releases page.
Drag the ADJCriteo.h and ADJCriteo.m files into the Adjust folder inside your project.
In the dialog choose options for adding these files. Make sure to check the checkbox to Copy items if needed and select the radio button to Create groups.
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.