SDK Event and Action Types
Here's how to access event and action types.
The available events are as follows:
- RecordImpressions
- RecordPageEvents
- RecordRecClicks
- RecordRecImpressions
- ContextIpAddress
- ContextCustomVariables
- ContextUserAgent
- ContextPageView
- ContextCart
- ContextAddToCart
- ContextPurchase
- ContextMetadata
- ContextProductDetailView
- ContextProductThumbnailView
- ContextReferrer
- ContextCoordinates
- ContextScreenSize
React Web
React Native
iOS
Android
Events are defined in the common package. You can access these events by importing this package with the following code:
Once imported, you can reference these events using the syntax EventTypes.<event name>. For example, RecordImpressions is referenced by EventTypes.RecordImpressions.
The following actions are available in all four versions of the Monetate SDK:
Action Type | Action Type String |
---|---|