Set Matomo configuration

set_matomo_config(
  url = Sys.getenv("MATOMO_URL"),
  api_key = Sys.getenv("MATOMO_APIKEY"),
  site_id = Sys.getenv("MATOMO_SITEID"),
  format = "json",
  date_min = "2018-06-05",
  date_max = Sys.Date()
)

Arguments

url

url to Matomo tracking (e.g. https://matomo.example.com/index.php), default: Sys.getenv("MATOMO_URL")

api_key

Matomo tracking API key, default: Sys.getenv("MATOMO_APIKEY")

site_id

site id, default: Sys.getenv("MATOMO_SITEID")

format

export data format (default: "json")

date_min

first date (default: "2018-06-05", start of KWB-Matomo tracking)

date_max

last date (default: Sys.Date())

Value

list with Matomo configuration