Web

To track an event using the web package, you can use the corresponding method on the tracker instance. For example:

Example

val properties = WebPageViewedProperties(
    path = path
)
bird.tracker.web.pageViewed(properties)

Methods

pageViewed()

val properties = WebPageViewedProperties(
    path = path
)
bird.tracker.web.pageViewed(properties)

WebPageViewedProperties

Property
Type

path?

String

referrer?

String

search?

String

title?

String

url?

String

pageLostFocus()

WebPageLostFocusProperties

Property
Type

path?

String

referrer?

String

search?

String

title?

String

url?

String

formViewed()

WebFormViewedProperties

Property
Type

form_id?

String

step_id?

String

formSubmitted()

WebFormSubmittedProperties

Property
Type

form_id?

String

step_id?

String

searchSubmitted()

WebSearchSubmittedProperties

Property
Type

search_query?

String

search_results_count?

Number

Last updated

Was this helpful?