Anyone doing any usage tracking with their Shiny app?
Ours is hosted by shinyapps.io and we added Matomo (like Google Analytics but privacy-oriented) javascript code but it gives very weird behavior, including missing most hits to our website.

@tenzingContrib @martonkovacs @balazsaczel @kristoffer

Hi, we use Matomo-Tracking for our #RShiny app PsychTopics.org, (also hosted on shinyapps.io) using the same JS code snippet in the UI file.

Only difference:
_paq.push(['disableCookies']);
before 'trackPageView'

  https://github.com/leibniz-psychology/psychtopics/blob/main/R/app_ui.R

We did not notice anything suspicious. Are the missed hits in any way different? Maybe from Browsers with some blocking extensions?

psychtopics/app_ui.R at main · leibniz-psychology/psychtopics

PsychTopics – A Shiny App for Exploring and Analyzing Research Topics in Psychology - psychtopics/app_ui.R at main · leibniz-psychology/psychtopics

GitHub
@abitter Thank you! We are trying this now.
@abitter We fixed it, we think! it was a dumb mistake I made, was deploying the fixed version to a slightly different URL! your comment gave us the confidence to check things like that :)