v
v
vue-gtag
v2
Github
Search
⌃K
Links
Get started
Migration v1 to v2
Bootstrap options
Auto tracking
Multiple domain tracking
Plugin hooks
API
Opt-in/out
Global namespace
Access gtag instance directly
Debug
Plugin options
Methods
pageview
event
screenview
customMap
purchase
linker
set
time
config
exception
Powered By
GitBook
time
export
default
{
name
:
'MyComponent'
,
methods
:
{
track
()
{
this
.
$gtag
.
time
({
'name'
:
'load'
,
'value'
:
3549
,
'event_category'
:
'JS Dependencies'
})
}
}
}
Methods - Previous
set
Next - Methods
config
Last modified
3yr ago