Commit Graph

39 Commits

Author SHA1 Message Date
Matthias Kretschmann d9a22c2467
switch default script names
- closes #233
2023-07-08 11:35:53 +01:00
Fabio Bonelli 7d921386fa
add additionalTrackers to set multiple trackers (#403)
See https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers
2023-03-23 09:39:43 +00:00
Matthias Kretschmann b6d51f76cc
package updates 2021-12-20 15:47:08 +00:00
Matthias Kretschmann 842c343343
package updates 2021-11-28 15:40:23 +00:00
Sam Richards ae2e8e7a61
Add support for error tracking [Fixes #168] (#169)
* Add support for error tracking [Fixes #168]

* fix missing cookieDomain

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-23 11:37:14 +02:00
Matthias Kretschmann 4858debe66
package updates 2021-05-23 11:17:34 +02:00
Jarne fd6f427fb4
Add cookie consent option (#102)
* Add cookie consent option

* Add unit testing for cookie consent option

Co-authored-by: Jarne <jarne@users.noreply.github.com>
2021-05-23 11:06:07 +02:00
Revath S Kumar 95c4730168
feat: add respectDnt option 2020-12-12 17:18:58 +05:30
Matthias Kretschmann 5871f667b9
onRouteUpdate test tweaks 2020-04-06 10:55:51 +02:00
Arne Zeising 5f610910b9 Make load tracking configurable 2020-04-04 17:30:35 +02:00
Matthias Kretschmann aeeffda980
package updates 2020-03-22 16:06:09 +01:00
Arne Zeising e9d1569c78 Add default for matomoPhpScript and update README 2020-03-21 16:36:51 +01:00
Arne Zeising 12a4ebed8d Make PHP and JS script names configurable 2020-03-21 16:15:27 +01:00
Matthias Kretschmann 0867187bec
add cookieDomain setting 2020-02-24 00:48:12 +01:00
Matthias Kretschmann 467a13b29a
more config testing 2020-02-15 15:43:34 +01:00
Matthias Kretschmann 8103a64138
setup testing 2020-02-15 15:30:29 +01:00
Matthias Kretschmann c0269c71e2
updates and cleanup 2020-02-15 14:10:59 +01:00
Jedidiah Broadbent 1c3c458bb4 Add trackAllContentImpressions after trackPageView 2019-07-09 01:01:14 +01:00
Julien Blatecky 12a34647b9
Fix missing tracking code in rendered HTML
`onRenderBody` does take any return type, I removed the useless `return null` at the end of this function.
`setHeadComponents` doesn't return anything so the right side of the `&&` wasn't executed, only the `head` was built.
2019-06-13 19:42:07 +02:00
Matthias Kretschmann 9b1833060c
preconnect to configured Matomo host url 2019-06-10 02:19:52 +02:00
Matthias Kretschmann 858fc2eb8a
add prettier 2019-06-10 02:04:28 +02:00
Matthias Kretschmann aedb80684f
capture and send custom page title
* workaround to delay page tracking until react-helmet is finished updating document.title
* closes #11
2019-03-30 17:09:23 +01:00
Matthias Kretschmann 7b7f4783a6
always fire route updates in dev mode 2019-03-30 14:38:22 +01:00
Matthias Kretschmann 04b8ba1903
better page url & referrer url tracking 2019-03-30 14:36:42 +01:00
Matthias Kretschmann fe6f67ee64
package updates 2019-03-30 14:00:20 +01:00
Matthias Kretschmann 9464d47ae1
allow exclusion of paths 2018-12-05 20:49:09 +01:00
Matthias Kretschmann aeebc67484
Merge pull request #7 from Creatiwity/consent-mode
Add consent mode
2018-08-06 11:29:57 +02:00
Julien Blatecky ff9a2c7558
Add disableCookies option 2018-07-29 15:12:53 +02:00
Julien Blatecky 6d2ae9e0d8 Add consent mode 2018-07-29 09:54:01 +02:00
Julien Blatecky c4b21bf5ce
Scoping js variables to avoid polluting global scope 2018-07-29 09:35:46 +02:00
Matthias Kretschmann 7d653d564c
improvements for SPA tracking 2018-06-28 19:54:57 +02:00
Matthias Kretschmann 59e442a31d
updates for Gatsby v2 2018-06-19 23:29:18 +02:00
Matthias Kretschmann 5034a3b8e5
save some lines 2018-05-23 01:05:36 +02:00
Matthias Kretschmann dc574ab72c
fix environment check 2018-05-14 22:15:53 +02:00
Matthias Kretschmann a15146c3dc
allow local piwik.js path to be set 2018-05-11 00:08:50 +02:00
Matthias Kretschmann 5c05efe181
add dev mode
* will load all scripts in development
* ignores your local browser's DNT header
* outputs some information in browser console about what it is doing
2018-05-08 20:52:43 +02:00
Matthias Kretschmann 6c0a840de2
do nothing on route updates when piwik isn't loaded and in development 2018-05-08 12:45:47 +02:00
Matthias Kretschmann 4f1f6b3033
fix plugin entry 2018-05-07 20:54:16 +02:00
Matthias Kretschmann 49bffd3cf1
initial commit 🍹 2018-05-07 19:28:15 +02:00