-
Notifications
You must be signed in to change notification settings - Fork 1
[infra,devops] How to add the 'matomo tracking id'
Ingi Erli edited this page Apr 16, 2020
·
9 revisions
the javascript-snippet should go into the birdrecoveries/ui.R
- fetch the tracking-id and javascript.snippet from matomo.
- paste the snippet into the file matomo.html
- place the matomo.html-file into the dir
inst/shiny-apps/birdrecoveries
(side-by-side with ui.R) - edit the ui.R code, paste
tags$head(includeHTML(("matomo.html")))
into the 'dashboardBody'
Q&A in the Matomo-forum
Lukas (Lukas Winkler) April 16, 2020, 9:50am #2
Hi,
As long as you have not set up GeoIP, Matomo can only guess the location and therefore maps the language of the browser roughly to a country.
So you have to go to the System->Geolocation settings on the admin page and set up which geolocation database should be downloaded. The default is the DB-IP and while it is a bit imprecise, it it free and licenced und a creative commons license.
You can also use the free maxmind db, but for this you need to sign up and agree to their strict license terms.
https://matomo.org/docs/geo-locate/
- vänstermenyn
- geolocation
Svar i matmo-forum 2020-04-16 ::
Maxmind put the free databases behind a login and another license starting this year:
https://dev.maxmind.com/geoip/geoip2/geolite2/
Here are the license agreements:
https://www.maxmind.com/en/geolite2/eula
se även här (frågan ställd i matomo-forum 2020-04-16) :
https://archive.org/details/screenshot20200416geolocationadministrationmatomo
and then :