file:// protocol exclude option JS in tracker doesn't consider custom URL #20049
Labels
c: Privacy
For issues that impact or improve the privacy.
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone
The feature #17017 was added in https://github.com/matomo-org/matomo/pull/19835/files
In this change we're using
location.protocol
. However, we would need to use the tracker methodgetCurrentUrl()
and check whether the protocol isfile
forconfigCustomUrl || locationHrefAlias
. That's because a user can overwrite the URL viasetCustomUrl()
. If the set custom URL isn't of protocolfile
, then we could still track it. Not sure if there would be any other side effects otherwise like the referrer may be stillfile://
.The text was updated successfully, but these errors were encountered: