New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matomo, Tracking URLs, http vs https, visitor log issues #12586
Comments
Hi @ryrun -> can you please set only the HTTPS URLs in your website (in Admin > websites > Manage > edit). Then are the URLs displayed in the visitor log shown for HTTPS links only? I can't remember exactly the logic but if your website URLs are defined as HTTPS in Matomo, and your users are viewing https page, then for sure it's expected we show HTTPS links in the visitor log.
Sounds good, we will clarify this in the UI. Proposed steps to solve the issue
|
I can't reproduce it. Just debugged and the protocol is used under which is was tracked originally: https://github.com/matomo-org/matomo/blob/3.9.1/plugins/Actions/VisitorDetails.php#L141 It can happen though if an HTTP url was tracked in the past because of this: https://github.com/matomo-org/matomo/blob/3.9.1/core/Tracker/Model.php#L179 We store the action based on a hash of the We could try to match the domain/path with any URL configured in the site and use the same protocol as configured there instead I suppose. Not sure re possible side effects. |
Nice idea. But maybe this is not really important to fix actually and can be moved out of milestone? |
I couldn't reproduce it, because the action was initially tracked under the right url_prefix. But if you used to have http, and the url was first tracked under http, and then remove http from your website and only have https, then the link for that url will stay http basically. |
Sorry @mattab i missed your post last year. I've set to https Urls only, but it still shows http://. |
refs #5312 |
@sgiehl can we close this one maybe? |
Yes. guess everything else can be handled in #5312 |
We have changed serveral websites to https. All users will be redirected via 301, all urls on our site was changed to https, too. First problem is, that Matomo's visitor log still shows "http" urls, which cant be possible, because the users will be redirected.
It seems this problem is an old one, someone posted it on the forum, too:
https://forum.matomo.org/t/tracking-von-https-in-url-wird-nur-http-angezeigt/22990 (german post)
The second problem is, that we are currently not 100% sure, when we use the "URLs" configuration for websites, that "https" will be also consididerd like the "non-www"/"www", when we have just used "http://www.example.org". There are some missing informations about this. This need to be clarified more.
The text was updated successfully, but these errors were encountered: