Menu
Docs
Feedback
Login
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 for Contact
crm/track-contact-event@1.0.0
1 provider
Track Contact Event
TrackContactEvent
Sends an event data to CRM for a specific contact
Input
Contact Identifier
Event Name
Event Properties
Result
Contact Identifier
Integrate
1.
Choose a provider
Mock implementation
crisp
Request a missing provider
2.
Use
TrackContactEvent
with
mock
in your code
Below instructions are for our Node.js SDK.
Use OneService for other languages.
npm
i
@superfaceai/one-sdk
Copy
Copied!
Copy
Copied!
Structure details
Input (object)
contactId
required
A value that uniquely identifies a contact. Each provider might use a different identifier (e.g. email or random number).
string
eventName
required
A text value representing the event name
string
eventProperties
optional
Event Properties are attributes that help you define the specifics of an Event.
Example
Copy
Copied!
Result (object)
contactId
required
A value that uniquely identifies a contact. Each provider might use a different identifier (e.g. email or random number).
string
Example
Copy
Copied!
Implementation details
Provider
mock
Use case
TrackContactEvent
Author
@superface
Source
View source
Verified