Skip to contents

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 or NULL to make it a session cookie.

session

A valid Shiny session.