diff options
author | sgiehl <stefan@matomo.org> | 2022-07-29 10:47:39 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2022-07-29 11:27:35 +0300 |
commit | d19b1da6f30ca4be57eeffaa74b0e39044d3a0cf (patch) | |
tree | 6799c27d0484c8f3a81672330adf321004b8240c /js/piwik.js | |
parent | 04c1149d81bd5e48671f212f9a1cbd12fa10ef85 (diff) | |
parent | c7294b3c6cf693abfcdf2096bf910ac9e36fcb6f (diff) |
Merge branch 'next_release' into 4.x-devmergetest
Diffstat (limited to 'js/piwik.js')
-rw-r--r-- | js/piwik.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/piwik.js b/js/piwik.js index 274d4ea4ac..deb7e71d59 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -2452,6 +2452,11 @@ if (typeof window.Matomo !== 'object') { configBrowserFeatureDetection = true; + // exclude paypal.com as referrer + if (/^https?:\/\/([a-z0-9\.\-]+\.)?paypal\.com(\/|$)/.test(configReferrerUrl)) { + configReferrerUrl = ''; + } + // Document title try { configTitle = documentAlias.title; |