Description Usage Arguments Details See Also Examples
Suitable for tracking time lags
1 2 |
category |
Specifies the timing category |
name |
Specifies the timing name |
time |
An integer in milliseconds |
label |
Optional label |
enhanced_ecom |
A |
... |
Other named arguments to pass in as payload data |
Helper wrapper to send timing type hits. Specify named arguments to also send those, including overriding the helper arguments. E.g. set your own cid = "fixed-value" if you want to have hits to be recorded as coming from the same user.
https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
1 | gmr_hit_timing("R_app","shiny_loadtime",3000, label = "appname")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.