@sgiehl opened this Pull Request on June 1st 2022 Member

Description:

This PR provides the possibility to configure a list of host excluded from referrer detection.
The list can be maintained globally, as well as enriched per site.

Referrer on that exclusion list will be ignored on PHP side and such hits will be handled as DIRECT entry.

In addition it will be possible to define ignored referrers within the javascript tracker, so they are ignored for setting the referrer cookies and also not sent with tracking requests.

refs #18612

Review

@mattab commented on June 28th 2022 Member

@sgiehl I haven't reviewed yet, but based on your comment in the other issue, can we add paypal.com to the "global" list of excluded referrers so that users don't have to configure it and it just works for people out of the box?

@sgiehl commented on June 28th 2022 Member

I'm not able to say if there might be reasons for someone to not having it excluded, but yes, I can let it be added to the list once on update or install.

@sgiehl commented on June 29th 2022 Member

@bx80 applied some fixes

@sgiehl commented on June 30th 2022 Member

@bx80 I've created a PR for the developer docs, so the new methods will be documented. Feel free to review and merge that one.
In addition I've updated the FAQ: https://matomo.org/faq/how-to/how-do-i-add-a-referral-exclusion-in-matomo/

This Pull Request was closed on June 30th 2022
Powered by GitHub Issue Mirror