Enable and Use Analytics on iOS

Enable analytics in your configuration file using the analytics:true value. The SDK collects analytics in the background and when SDK methods are called to track push notifications, inbox messages, and Einstein Recommendations events.

Track Push Notifications 

Track push notifications to ensure proper tracking by the SDK and Marketing Cloud Engagement analytics. Call the SDK in your push notification handler method to track open counts for your push messaging campaigns.

Track Inbox Message Opens 

Track inbox message opens to send open analytic values to Engagement. Call trackMessageOpened with an inbox message dictionary to record analytics when users select messages.

Integrate Einstein Recommendations and Collect API 

Integrate Einstein Recommendations to attribute collected analytics to specific users and track cart contents, conversions, and page views. Configure the PIID identifier and use the integration methods to connect your mobile app with Einstein Recommendations.