diff options
author | Hauke Stieler <mail@hauke-stieler.de> | 2019-04-17 00:01:39 +0300 |
---|---|---|
committer | Hauke Stieler <mail@hauke-stieler.de> | 2019-04-17 00:01:39 +0300 |
commit | 4dfc7e95c26c3f96928fa66bc933d1fe61f3a8cd (patch) | |
tree | 2e949c85d94b50bd9808b155dbac93b00f8ed767 /README.md | |
parent | 411e6635bfab0a8bce630bde41ae419341d3dd0e (diff) |
Move custom tracking into footer
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,6 +157,6 @@ To support multiple languages, create multiple directories in the `data` directo ## Tracking You can use the above configuration with e.g. Google Analytics or use your own JavaScript snippet to do so. -For a custom JavaScript snippet you have to create a `layouts/partials/tracking.html` file and put the necessary code into this file. The file (if it exists) will be embedded into the header right before the `</head>` tag. +For a custom JavaScript snippet you have to create a `layouts/partials/tracking.html` file and put the necessary code into this file. The file (if it exists) will be embedded into the footer next to the other tracking mechanisms. -I tested this with the Matomo analytics software, which provides a JavaScript snipped I put into the `tracking.html`. +I tested this with the Matomo analytics software, which provides a JavaScript or image-based snipped that I put into the `tracking.html`. |