Description Usage Arguments Value
View source: R/set_matomo_config.R
Set Matomo configuration
1 2 3 4 5 6 7 8 | 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()
)
|
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()) |
list with Matomo configuration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.