matomo-org / matomo-java-tracker

Official Java implementation of the Matomo Tracking HTTP API.
https://matomo-org.github.io/matomo-java-tracker/
BSD 3-Clause "New" or "Revised" License
69 stars 52 forks source link

Handling android-app referrer urls #58

Closed minifreak closed 2 years ago

minifreak commented 2 years ago

It seems not possible to track referers not using http/https, like android-app urls. Unfortunately PiwikRequest.setReferrerUrl(...) expects an URL so it's not possible to track them, unless URLStreamHandler is used for every scheme, in theory. Not sure how that will work out, I am currently in the process of trying it out.

It wouldn't be much of an issue if it weren't for the fact that we got quite some requests using that referrer and feels like we are missing important analytic data. See Sentry screenshot below:

Selection_227

Has anybody dealt with that already?