Lists
To track an event using the lists package, you can use the corresponding method on the tracker instance. For example:
Example
Codevoorbeeld
val properties = ListsSubscribedProperties(
listId = listId
)
bird.tracker.lists.subscribed(properties)Codevoorbeeld
let properties = ListsSubscribedProperties(
listId: listId
)
bird.tracker.lists.subscribed(properties)Codevoorbeeld
const properties: ListsSubscribedProperties = {
list_id: list_id
};
Bird.tracker.lists.subscribed(properties, event_opts);Methods
subscribed()
Codevoorbeeld
val properties = ListsSubscribedProperties(
listId = listId
)
bird.tracker.lists.subscribed(properties)Codevoorbeeld
let properties = ListsSubscribedProperties(
listId: listId
)
bird.tracker.lists.subscribed(properties)Codevoorbeeld
const properties: ListsSubscribedProperties = {
list_id: list_id
};
Bird.tracker.lists.subscribed(properties, event_opts);ListsSubscribedProperties
| Property | Type |
|---|---|
| list_id? | String |
| source? | String |
unsubscribed()
Codevoorbeeld
val properties = ListsUnsubscribedProperties(
listId = listId
)
bird.tracker.lists.unsubscribed(properties)Codevoorbeeld
let properties = ListsUnsubscribedProperties(
listId: listId
)
bird.tracker.lists.unsubscribed(properties)Codevoorbeeld
const properties: ListsUnsubscribedProperties = {
list_id: list_id
};
Bird.tracker.lists.unsubscribed(properties, event_opts);ListsUnsubscribedProperties
| Property | Type |
|---|---|
| list_id? | String |
| source? | String |