Commit Graph

31 Commits

Author SHA1 Message Date
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