Commit Graph

17 Commits

Author SHA1 Message Date
Matthias Kretschmann c0269c71e2
updates and cleanup 2020-02-15 14:10:59 +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 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 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 49bffd3cf1
initial commit 🍹 2018-05-07 19:28:15 +02:00