Survey
To track an event using the survey package, you can use the corresponding method on the tracker instance. For example:
Example
Codevoorbeeld
val properties = SurveyCsatProperties(
conversationId = conversationId
)
bird.tracker.survey.csat(properties)Codevoorbeeld
let properties = SurveyCsatProperties(
conversationId: conversationId
)
bird.tracker.survey.csat(properties)Codevoorbeeld
const properties: SurveyCsatProperties = {
conversation_id: conversation_id
};
Bird.tracker.survey.csat(properties, event_opts);Methods
csat()
Codevoorbeeld
val properties = SurveyCsatProperties(
conversationId = conversationId
)
bird.tracker.survey.csat(properties)Codevoorbeeld
let properties = SurveyCsatProperties(
conversationId: conversationId
)
bird.tracker.survey.csat(properties)Codevoorbeeld
const properties: SurveyCsatProperties = {
conversation_id: conversation_id
};
Bird.tracker.survey.csat(properties, event_opts);SurveyCsatProperties
| Property | Type |
|---|---|
| conversation_id? | String |
| event_name? | String |
| rating? | Number |