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