---
title: SDK Event and Action Types
slug: sdks/events-action-types
description: Information about the events and actions available in the React Web, React Native, iOS, and Android versions of the Monetate SDK
image:  https://archbee-image-uploads.s3.amazonaws.com/ceIfEvQHzQk1IVxoRWUh7/K9eTL4jKm7UQINb6zNziJ-20250912-181225.png
docTags: 
createdAt: 2024-06-11T19:47:13.932Z
---

Here's how to access event and action types.

## Events

:::Paragraph{indent="1"}
The available events are as follows:
:::

:::Paragraph{listStyleType="disc" indent="2"}
RecordImpressions
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="2"}
RecordPageEvents
:::

:::Paragraph{listStyleType="disc" listStart="3" indent="2"}
RecordRecClicks
:::

:::Paragraph{listStyleType="disc" listStart="4" indent="2"}
RecordRecImpressions
:::

:::Paragraph{listStyleType="disc" listStart="5" indent="2"}
ContextIpAddress
:::

:::Paragraph{listStyleType="disc" listStart="6" indent="2"}
ContextCustomVariables
:::

:::Paragraph{listStyleType="disc" listStart="7" indent="2"}
ContextUserAgent
:::

:::Paragraph{listStyleType="disc" listStart="8" indent="2"}
ContextPageView
:::

:::Paragraph{listStyleType="disc" listStart="9" indent="2"}
ContextCart
:::

:::Paragraph{listStyleType="disc" listStart="10" indent="2"}
ContextAddToCart
:::

:::Paragraph{listStyleType="disc" listStart="11" indent="2"}
ContextPurchase
:::

:::Paragraph{listStyleType="disc" listStart="12" indent="2"}
ContextMetadata
:::

:::Paragraph{listStyleType="disc" listStart="13" indent="2"}
ContextProductDetailView
:::

:::Paragraph{listStyleType="disc" listStart="14" indent="2"}
ContextProductThumbnailView
:::

:::Paragraph{listStyleType="disc" listStart="15" indent="2"}
ContextReferrer
:::

:::Paragraph{listStyleType="disc" listStart="16" indent="2"}
ContextCoordinates
:::

:::Paragraph{listStyleType="disc" listStart="17" indent="2"}
ContextScreenSize
:::

### Event Definitions

:::::Tabs
::::Tab{title="React Web"}
Events are defined in the common package. You can access these events by importing this package with the following code:

:::CodeblockTabs
Code to Import Events in the Common Package

```javascript
import { EventTypes } from '@personalization-js-sdk/common';
```
:::

Once imported, you can reference these events using the syntax `EventTypes.<event name>`. For example, `RecordImpressions` is referenced by `EventTypes.RecordImpressions`.
::::

::::Tab{title="React Native"}
Events are defined in the common package. You can access these events by importing this package with the following code:

:::CodeblockTabs
Code to Import Events in the Common Package

```javascript
import { EventTypes } from '@personalization-js-sdk/common';
```
:::

Once imported, you can reference these events using the syntax `EventTypes.<event name>`. For example, `RecordImpressions` is referenced by `EventTypes.RecordImpressions`.
::::

::::Tab{title="iOS"}
Events are defined in the `monetate_ios_sdk` package. Import this package with the following code:

:::CodeblockTabs
Code to Import Events in the monetate\_ios\_sdk Package

```swift
import monetate_ios_sdk
```
:::

Once imported, you can reference these events using the syntax `.<event name>`. For example, `RecordImpressions` is referenced by `.RecordImpressions`.
::::

:::Tab{title="Android"}
Events are defined in `EventTypes.java`.

You can reference these events using the syntax `EventTypes.<event name>`. For example, `RecordImpressions` is referenced by `EventTypes.RecordImpressions`.
:::
:::::

## Actions

The following actions are available in all four versions of the Monetate SDK:

| **Action Type**                                                                                                 | **Action Type String**                      |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [Omnichannel JSON](https://docs.monetate.com/docs/available-omnichannel-action-types#omni-json)                 | `monetate:action:OmnichannelJson`           |
| [Omnichannel Recommendations](https://docs.monetate.com/docs/configure-an-omnichannel-recommendations-action)   | `monetate:action:OmnichannelRecommendation` |
| [Omnichannel Social Proof](https://docs.monetate.com/docs/create-an-omnichannel-social-proof-action)            | `monetate:action:SocialProofDataV2`         |
| [Omnichannel Product Badging](https://docs.monetate.com/docs/configure-an-omnichannel-product-badging-action)   | `monetate:action:OmniChannelImageBadging`   |
| [Omnichannel Data Collect](https://docs.monetate.com/docs/available-omnichannel-action-types#omni-data-collect) | `monetate:action:DataCollection`            |
| [No Action](https://developer.monetate.com/sdks/no-action-handler)                                              | `monetate:action:NoAction`                  |

