Web
WebTracker
Defines the tracker class for the web semantic package
Example
To track an event using the web package, you can use the corresponding method on the tracker instance:
Extends
Tracker
Methods
formSubmitted()
Parameters
• props?: WebFormSubmittedProperties
• opts?: BirdEventTrackingOptions
Returns
void
formViewed()
Parameters
• props?: WebFormViewedProperties
• opts?: BirdEventTrackingOptions
Returns
void
pageViewed()
Parameters
• props?: WebPageViewedProperties
• opts?: BirdEventTrackingOptions
Returns
void
searchSubmitted()
Parameters
• props?: WebSearchSubmittedProperties
• opts?: BirdEventTrackingOptions
Returns
void
WebFormSubmittedProperties
Properties for web/form-submitted event
Indexable
[k
: string
]: unknown
Properties
form_id?
string
step_id?
string
WebFormViewedProperties
Properties for web/form-viewed event
Indexable
[k
: string
]: unknown
Properties
form_id?
string
step_id?
string
WebPageViewedProperties
Properties for web/page-viewed event
Indexable
[k
: string
]: unknown
Properties
path?
string
referrer?
string
search?
string
title?
string
url?
string
WebSearchSubmittedProperties
Properties for web/search-submitted event
Indexable
[k
: string
]: unknown
Properties
search_query?
string
search_results_count?
number
Last updated