Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-06Improve isObjectEmpty function in piwik.js (#19182)Stefan Giehl
* Improve isObjectEmpty function in piwik.js * rebuilt piwik.js
2022-05-03[JS]update beforeunload to visibilitychange (#19041)Peter Zhang
* 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>
2022-03-24Don't create cookies when disabled (#18935)Justin Velluppillai
* 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>
2022-03-10Set the _pk_id in the past when deleting cookie (#18905)Aleksi Johansson
* Update piwik.js * Minify piwik.js
2022-02-14add enable browser detection and some tests (#18633)Peter Zhang
* 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>
2022-01-31Apply disableAlwaysUseSendBeacon first (#18708)Stefan Giehl
* Apply `disableAlwaysUseSendBeacon` first (#18676) * built tracker js files Co-authored-by: Sir-Will <brieftaubenman@gmail.com>
2022-01-17add disable finger print options (#18599)Peter Zhang
* 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>
2021-10-08Use detachEvent when removeEventListener isn't available (#18110)Peter Zhang
* 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>
2021-10-04JavaScript tracker exclude query parameters (#18031)Ben Burgess
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>
2021-09-22add heartbeat ping tab tracking (#18028)Peter Zhang
2021-09-16cover $typeReferrer 'false' or '0' to filter (#18016)Tim-Hinnerk Heuer
* cover $typeReferrer 'false' or '0' to filter fixes #15892 * rebuilt piwik.js Co-authored-by: geekdenz <geekdenz@users.noreply.github.com>
2021-09-16Add piwik.js public api method setPagePerformanceTiming. (#17901)Tim-Hinnerk Heuer
2021-09-06Improve check for correctly set cookie by casting to string (#17928)Justin Velluppillai
* Improve check for correctly set cookie by casting to string * rebuilt piwik.js Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
2021-07-30Don't check cookie value if cookie was deleted (#17830)Stefan Giehl
* 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>
2021-07-1517417 cookie domain (#17744)Justin Velluppillai
* 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>
2021-07-05Handle failed promise by silently ignoring it (#17735)Justin Velluppillai
* 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>
2021-06-18Make sure overlay API requests send force_api_session as POST param (#17675)dizzy
* 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
2021-06-10rebuild tracker javascript (#17659)dizzy
* tweak tracker JS docs * rebuilt piwik.js
2021-05-27Outlink tracking when DOM modified (#17522)Zoltan Flamis
* 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>
2021-04-14Performance timing API as default (#17427)Zoltan Flamis
* 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>
2021-03-29Track JS errors only once per page view (#17288)Zoltan Flamis
* 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>
2021-03-23Ensure to send performance timings as integer values (#17372)Stefan Giehl
* Ensure to send performance timings as integer values * rebuilt piwik.js Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2021-03-10rename testcookie to make it clear it is created by Matomo (#17243)Lukas Winkler
* 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>
2021-03-02Do not append performance metrics to page view log if performance tracking ↵Mikhail Snetkov
disabled (#17268) * Do not append performance metrics to page view log if performance tracking disabled * Rebuild piwik.js
2021-02-25fix js test (#17265)dizzy
* fix js test * rebuilt piwik.js
2021-02-24bugfix: Type mismatched while reporting uid (#17252)某罐头菠萝
2021-02-05Send 204 response for bulk requests to avoid possible CORB issue (#17180)Stefan Giehl
* 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>
2021-01-26Fix possible service worker error in Firefox (#17139)Thomas Steur
* Fix possible service worker error in Firefox * rebuilt piwik.js
2021-01-26Use PerformanceNavigationTiming API if available (#17130)Stefan Giehl
* Use PerformanceNavigationTiming API if available * rebuilt piwik.js * improve checks * rebuilt piwik.js Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2021-01-19allow multiple calls to enableLinkTracking (#17101)Lukas Winkler
2020-12-03When forcing GET request method in JS tracker then disable send beacon (#16870)Thomas Steur
2020-12-02Document setGenerationTime removal and add back the method (#16860)Thomas Steur
* Document setGenerationTime removal and add back the method * rebuilt piwik.js Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2020-11-23Add disablePerformanceTracking method to methods to apply first (#16768)Thomas Steur
2020-11-17SameSite cookie attribute can be configured for JS tracker (#16733)Thomas Steur
2020-11-15Fix ecommerce and goal tracking may not work (#16716)Thomas Steur
* Fix ecommerce and goal tracking may not work * rebuilt piwik.js
2020-10-19Ignore tracking requests for disabled plugins (#16570)Thomas Steur
2020-10-06Ignore negative performance timings values (#16516)Stefan Giehl
2020-10-05Fix failing tests (#16523)Stefan Giehl
* fix tracker request tests * rebuilt piwik.js * fix JSLint error Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2020-10-05Always set consent removed cookie even when cookies are disabled (#16507)Thomas Steur
2020-10-01Make JS tracker work in strict mode (#16498)Thomas Steur
* Make JS tracker work in strict mode fix https://github.com/matomo-org/matomo/issues/14791 * rebuilt piwik.js
2020-09-30Fix percent symbol fails JavaScript Matomo code (#16469)Thomas Steur
2020-09-09Remove visit standard length from tracker (#16412)Thomas Steur
* Remove visit standard length from tracker * adjust changelog * rebuilt piwik.js
2020-09-02Fix Custom opt out screen should not imply tracking consent given (#16364)Thomas Steur
* 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
2020-09-01Fix build as minified JS version is missing (#16360)Thomas Steur
* Fix build as minified JS version is missing * rebuilt piwik.js
2020-08-10Fix default value of heart beat timer (#16282)Stefan Giehl
* Fix default value of heart beart timer * rebuilt piwik.js Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2020-07-31Remove no longer needed/used heartbeat code (#16253)Thomas Steur
* 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
2020-07-24Merge branch '3.x-dev' into 4.x-devsgiehl
2020-07-09Backport support for matomo_ignore class (#16195)Thomas Steur
2020-07-07Implement cookie consent (#16178)Thomas Steur
* implement cookie consent * rebuilt piwik.js * fix documentation
2020-07-03Add method to enable cookies in JS (#16113)Thomas Steur
* Better detection for cookies for browser plugins report * rebuilt piwik.js * improve comment * Add method to enable cookies * rebuilt piwik.js * fix test * no longer include cookie in fingerprint * only ignore cookies in fingerprint for IE * fix tests * fix test * tweak enablecookies * rebuilt piwik.js * send tracking request if needed when enable cookies * rebuilt piwik.js * tweak code * update docs * rebuilt piwik.js * Update Visit.php * fix tests * rebuilt piwik.js Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>