Toggle
toggle.Rd
Enable and disable the tracking from the server.
Usage
shinymetrics_enable(
...,
expires = 400,
session = shiny::getDefaultReactiveDomain()
)
shinymetrics_disable(session = shiny::getDefaultReactiveDomain())
Arguments
- ...
Passed to Cookie options, MDN.
- expires
Number of days from time of creation when the cookie expires. or an object of class
Date
, the date when the cookie should expire, or an empty orNULL
to make it a session cookie.- session
A valid Shiny session.