Age | Commit message (Collapse) | Author |
|
* Adds database column to store referrer exclusion
* Adds global setting for referrer exclusion
* Adds measurable setting to configure excluded referrers
* adjust SitesManager tests
* Implement referrer exclusion
* Make referrer exclusion code easier to understand
* fix tests
* Adds validation for referrer exclusion
* fix test
* Implement referrer exclusion in tracker js
* rebuilt tracker js
* Adds some javascript tests
* ensure setIgnoredReferrers is executed before tracking
* adjust wording to excluded referrers (instead of ignored)
* ignore www subdomain in javascript
* Included excluded referrer in tracking code generator
* Don't require protocol for excluded referrers and add better description
* built vue files
* update expected test files
* updates expected UI files
* add changelog
* removes unused variable
* Allow wildcard subdomains
* updates expected test files
* apply review feedback
* Fix typo
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
|
|
request was sent yet (#19200)
* Try to set referrer attribution cookie when leaving the page if no tracking request was sent yet
* rebuilt piwik.js
* Adds js test
|
|
(#19232)
* Take care to always 'return request' in appendAvailablePerformanceMetrics
This alleviates a variety of spurious "Invalid idSite: 0" issues as described in #12264. That issue was closed in 2019 but since then many of us have continued to see issues that do not seem to be rooted in client configuration errors, as suggested by https://github.com/matomo-org/matomo/issues/12264#issuecomment-474991737.
* Add minified matomo.js.
* Delete piwik.min.js
Co-authored-by: Stefan Giehl <stefan@matomo.org>
|
|
* Improve isObjectEmpty function in piwik.js
* rebuilt piwik.js
|
|
* Update piwik.js
update beforeunload to visibilitychange
* Update piwik.js
update condition
* rebuilt piwik.js
* Update piwik.js
take timer outside of check
* rebuilt piwik.js
* Update piwik.js
update functions
* rebuilt piwik.js
* update visibility State
update visibility State
* rebuilt piwik.js
* add extra event
add extra event
* rebuilt piwik.js
* update tests, reset timer
update tests, reset timer
* Update js/piwik.js
Co-authored-by: Justin Velluppillai <justin@innocraft.com>
* update tests
update tests
* add visibilitychange to test
update tests
* update test to 530
update test to 530
* Update tests/javascript/index.php
Co-authored-by: Justin Velluppillai <justin@innocraft.com>
* disable unload if tab is switched
disable unload if tab is switched
* update events
update events
* update jsLint error
update jsLint error
Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
Co-authored-by: Justin Velluppillai <justin@innocraft.com>
|
|
* Rebuilding
* Empty commit
* rebuilt piwik.js
* Need to track a pageview before checking cookie
* more fixes for tests where not setting visitorId cookie until tracking request first sent
* a few more test fixes
* allow a little longer for beforeUnloadHandler now it does more by default...
* bump it a little higher
* track a page view so the referer tests work
* undo last
* testing
* give more info
* removed test code
* undo test changes, set a variable to store initial visitor id while the cookie isn't set
* one more test removal
* Track a pageview to create cookie before testing matching visitorIds
* rebuilt piwik.js
* trackpageview so some more visitorid tests pass
* one more tracking request now
* allow more time for beforeUnloadHandler
* Instead of storing a temporary variable we just create the cookie when getVisitorId is called, if it is not existing
* rebuilt piwik.js
* Removed unnecessary changes
* rebuilt piwik.js
* minor fixes
* different approach
* rebuilt piwik.js
* set visitor id cookie in getVisitorInfo also
* rebuilt piwik.js
* remove unnecessary configCookiesDisabled check
* rebuilt piwik.js
Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
|
|
* Update piwik.js
* Minify piwik.js
|
|
* add enableBrowserFeatureDetection and simple tests
add enableBrowserFeatureDetection and simple tests
* Update AnonymousPiwikUsageMeasurement
update tests
* rebuilt piwik.js
* Revert "Update AnonymousPiwikUsageMeasurement"
This reverts commit 21de4c77ba8032c085ed9f4b1924bac4eee228f0.
* Update index.php
add tests
* Update index.php
* Update index.php
update wrong function
* Update index.php
update tests
* Update index.php
update tests
* Update .eslintignore
disable jslint for complie js
* update jsLint error
update jsLint error
* remove space
remove space
* Update index.php
update wording
Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
|
|
* Apply `disableAlwaysUseSendBeacon` first (#18676)
* built tracker js files
Co-authored-by: Sir-Will <brieftaubenman@gmail.com>
|
|
* add disable finger print
add disable finger print
* rebuilt piwik.js
* update eslint and piwijs
update eslint and piwijs
* Update piwik.js
update name
* Update piwik.js
update naming and functions
* rebuilt piwik.js
* Update piwik.js
add disableBrowserFeatureDetection to apply first
* rebuilt piwik.js
* Update .eslintignore
remove eslint rules
* Update .eslintignore
reset
* Update piwik.js
swap apply event place
* Update .eslintignore
apply ignores
* rebuilt piwik.js
* Update piwik.js
move disableBrowserFeatureDetection up
* Update piwik.js
move function below
* Update piwik.js
update format
* update some naming
update some naming
* Update js/piwik.js
Co-authored-by: Justin Velluppillai <justin@innocraft.com>
Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
Co-authored-by: Justin Velluppillai <justin@innocraft.com>
|
|
* update removeEventListener to detachEvent
follow pr 18028 fix for update removeEventListener to detachEvent
* rebuilt piwik.js
Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
|
|
Adds a new option to the JavaScript tracker to exclude query parameters from the tracked URL.
Co-authored-by: bx80 <bx80@users.noreply.github.com>
Co-authored-by: sgiehl <stefan@matomo.org>
|
|
|
|
* cover $typeReferrer 'false' or '0' to filter
fixes #15892
* rebuilt piwik.js
Co-authored-by: geekdenz <geekdenz@users.noreply.github.com>
|
|
|
|
* Improve check for correctly set cookie by casting to string
* rebuilt piwik.js
Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
|
|
* don't check cookie value if cookie was deleted
* add test that ensures no error is logged when setCookieDomain is called w/ valid input
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
* Handle failed promise by silently ignoring it
* rebuilt piwik.js
* Remove unnecessary check for .ready - if serviceWorker exists it should be there anyway
* Set cookie domain even if cookies are disabled; log console errors for issues setting cookies
* rebuilt piwik.js
* Added tests
* Fixed js tests by modifying expected number of asserts
* Fixed JSLint issues
* rebuilt piwik.js
* Don't unset cookie domain at end of test
* Reorder get and set cookie functions to fix jslint issue
* rebuilt piwik.js
* JSLint error from missing ;
Co-authored-by: tsteur <tsteur@users.noreply.github.com>
Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
|
|
* Handle failed promise by silently ignoring it
* rebuilt piwik.js
* Remove unnecessary check for .ready - if serviceWorker exists it should be there anyway
* rebuilt piwik.js
Co-authored-by: tsteur <tsteur@users.noreply.github.com>
Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
|
|
* Fix Overlay API requests which can end up sending force_api_session=1 in the query, while sending a POST request, which is not allowed
* correct parsing of segment in URL when detecting Overlay
* rebuilt piwik.js
* better regex
* rebuilt piwik.js
|
|
* tweak tracker JS docs
* rebuilt piwik.js
|
|
* modify enabletracking
* check for multiple click listeners
* add other mouse events
* delete log
* rebuilt piwik.js
* add to changelog
and fix test
* Update piwik.js
* rebuilt piwik.js
Co-authored-by: flamisz <flamisz@users.noreply.github.com>
|
|
* switch domLoading to responseEnd
* timing API as default
* fix indentation
* rebuilt piwik.js
* Update piwik.js
* rebuilt piwik.js
* fix jslint error
* rebuilt piwik.js
* use isDefined
* rebuilt piwik.js
Co-authored-by: flamisz <flamisz@users.noreply.github.com>
|
|
* track js errors only once per page view
* rebuilt piwik.js
* use indexOfArray
* rebuilt piwik.js
* rebuilt piwik.js
* Update CHANGELOG.md
* js files new line delete
* rebuilt piwik.js
* Update CHANGELOG.md
* add test
* add the javascript errors for the tracker
* Update CHANGELOG.md
* rebuilt piwik.js
* fix tests
* rebuilt piwik.js
Co-authored-by: flamisz <flamisz@users.noreply.github.com>
Co-authored-by: sgiehl <stefan@matomo.org>
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
Co-authored-by: dizzy <diosmosis@users.noreply.github.com>
|
|
* Ensure to send performance timings as integer values
* rebuilt piwik.js
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
|
|
* rename testcookie to make it clear it is created by Matomo
* rebuilt piwik.js
* rename testcookie everywhere
* rebuilt piwik.js
Co-authored-by: Findus23 <Findus23@users.noreply.github.com>
|
|
disabled (#17268)
* Do not append performance metrics to page view log if performance tracking disabled
* Rebuild piwik.js
|
|
* fix js test
* rebuilt piwik.js
|
|
|
|
* Send 204 response for bulk tracking requests that were send with send_image=0
and automatically add that for all bulk requests sent be piwik.js
* rebuilt piwik.js
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
|
|
* Fix possible service worker error in Firefox
* rebuilt piwik.js
|
|
* Use PerformanceNavigationTiming API if available
* rebuilt piwik.js
* improve checks
* rebuilt piwik.js
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
|
|
|
|
|
|
* Document setGenerationTime removal and add back the method
* rebuilt piwik.js
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
|
|
|
|
* Fix ecommerce and goal tracking may not work
* rebuilt piwik.js
|
|
|
|
|
|
* fix tracker request tests
* rebuilt piwik.js
* fix JSLint error
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
|
|
|
|
* Make JS tracker work in strict mode
fix https://github.com/matomo-org/matomo/issues/14791
* rebuilt piwik.js
|
|
|
|
* Remove visit standard length from tracker
* adjust changelog
* rebuilt piwik.js
|
|
* Fix Custom opt out screen should not imply tracking consent given
fix https://github.com/matomo-org/matomo/issues/16362
As explained in the issue.
When `optUserOut` is called, it should set the `mtm_consent_removed` cookie.
When calling `forgetUserOptOut` then it should only undo the previous action and remove the `mtm_consent_removed` cookie. It should not set a `consent given` cookie because the user did likely not really give proper tracking consent (they would then instead implement https://developer.matomo.org/guides/tracking-consent ).
Noticed this while implementing a custom opt out screen for Matomo for WordPress
* rebuilt piwik.js
|
|
* Fix build as minified JS version is missing
* rebuilt piwik.js
|
|
* Fix default value of heart beart timer
* rebuilt piwik.js
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
|
|
* Remove no longer needed/used heartbeat code
Noticed `heartBeatUp` was actually no longer called since we refactored the heartbeat timer so this code should be possible to be removed
* rebuilt piwik.js
* Update startOverlaySession.twig
|
|
|