You are viewing a section of Superface that will be deprecated in Q4 2023. Until then, you can continue to use it as you have before but we recommend that you migrate to our latest version soon. For more details visit superface.ai/docs/migrate.

Track Event

analytics/track-event@1.0.0
1 provider

Track Event

Allows to send event to tracking system

Input
Event Name
Event Properties
Result
string

1.Choose a provider

2.Use TrackEvent with mock in your code

Below instructions are for our Node.js SDK. Use OneService for other languages.
npm i @superfaceai/one-sdk

Structure details

Input (object)

eventName
A string value representing event
eventProperties
Event Properties are attributes that help you define the specifics of an Event.

Example

Result (string)

Implementation details

Provider
mock
Use case
TrackEvent
Author
@superface
Source
Verified