This article describes how to access event and action types.
Events
The available events are as follows:
- RecordImpressions
- RecordPageEvents
- RecordRecClicks
- RecordRecImpressions
- ContextIpAddress
- ContextCustomVariables
- ContextUserAgent
- ContextPageView
- ContextProductView
- ContextCart
- ContextAddToCart
- ContextPurchase
- ContextMetadata
- ContextProductDetailView
- ContextProductThumbnailView
- ContextReferrer
- ContextCoordinates
- ContextScreenSize
- ContextClosedSession
Events are defined in the monetate_ios_sdk package. Import this package with the following code:
import monetate_ios_sdk
Once imported, you can reference these events using the syntax .<event name>
. For example, RecordImpressions
is referenced by .RecordImpressions
.
Actions
The available actions are as follows:
- OmniChannelJson
- OmniChannelImageBadging
- OmniChannelRecommendation
- OmniSocialProofData
Actions are defined in the monetate_ios_sdk package. Import this package with the following code:
import monetate_ios_sdk
Once imported, you can reference these actions using the syntax .<action name>
. For example, OmniChannelJson
is referenced by .OmniChannelJson
.