Skip to content

[infra,devops] How to add the 'matomo tracking id'

Ingi Erli edited this page Apr 15, 2020 · 9 revisions

The Matomo Software

https://matomo.org/

Matomo tracking-id

the javascript-snippet should go into the birdrecoveries/ui.R

  1. fetch the tracking-id and javascript.snippet from matomo.
  2. paste the snippet into the file matomo.html
  3. place the matomo.html-file into the dir inst/shiny-apps/birdrecoveries (side-by-side with ui.R)
  4. edit the ui.R code, paste tags$head(includeHTML(("matomo.html"))) into the 'dashboardBody'