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
Referrer detection does not recognize subdomains when wildcards used in site URLs #17299
Comments
Hi @utrautmann, sorry you're experiencing this. If your website URL is being listed as an external website here, then that must mean for one or more visits, that website URL is treated as the referrer URL. Would you be able to check if this is the case in the I can think of one case where this might happen:
Finding a visit in the visits log would help determine if this is the case. |
Hi @diosmosis , In addition to the www domain, I also track a subdomain on the Matomo website.
Here are the results of my research that I have done.
I exported the visits in question to Excel. If the visitor now jumps back and forth between pages on www and the subdomain, different referrer entries are created in the visitor profile. I found at least 4 different combinations of datas. There is even another external URL included (that has nothing to do with my Matomo or my mentioned In Profile 1 the transition report looks so: I am sorry, unfortunately I have no precise identification of what happens when and at what point in time. |
Hi @utrautmann, apologies for another late reply. From looking at the code it seems like the referrer is being set incorrectly when the Referer header is set to ? Or is I can definitely confirm that |
Hi @diosmosis , my website is configured im Matomo like this The explicit www entry is configured because as a workarround for #12418
|
@utrautmann Are you able to add the |
@diosmosis : Where should I exactly add the subdomain-URL? In the backend configuration or/and in the tracking script ("setDomains..."-method)? Thank you. |
@utrautmann in the backend configuration. This is what's used when detecting whether a referrer URL is from a the same site or somewhere else. |
In some individual Matomo websites that I maintain the transitions report shows the own website as traffic source in category "Website". I mean with "own website" the measurable URL that was set up that the visitors use to access this website.
However, the number of accesses "From Website" is significantly lower than in the incoming traffic for internal pages (see screenshot please), so I assume that only very specific pageviews with my domain are counted under the category "From Websites" .
As URL was set up http://mydomain.com and (!) https://www.mydomain.com because as a workaround of Page Overlay bug #12418
The acquisition report does not show the "own website", correctly.
The expectation is that only external websites will be listed in the transitions report.
Is here a relationship to #15039 ?
The text was updated successfully, but these errors were encountered: