---
schema_version: "1"
id: 4643b9d4b438d6061cd8dc51aeffcd0cdafca9585d1e19d827ed8408da80e5f5
title: track
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud-mobilepush/engagement_sdk/references/cordova/track.md
canonical_url: https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/track.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b995abd9bb885d85d172865713d55a940b8218d659f7796682bd5bfaa2e3e7d0
products:
  - Salesforce Engagement SDK
---
# track

Method to track events, which could result in actions such as an InApp Message being displayed.

## Syntax

`MCCordovaPlugin.track(event)`

## Kind

Static method of `MCCordovaPlugin`.

## Parameters

| Parameter | Type                                                                                                                        | Description              |
| --------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `event`   | `CustomEvent`\| `EngagementEvent`\| `IdentityEvent` \| `SystemEvent` \| `CartEvent` \| `OrderEvent` \| `CatalogObjectEvent` | The event to be tracked. |

## See Also

- [Event Tracking](/docs/marketing/mobilepush/guide/event-tracking.html)
