diff options
author | Luis Garcia <luigi311.lg@gmail.com> | 2021-06-18 22:57:33 +0300 |
---|---|---|
committer | weru <fromweru@gmail.com> | 2021-07-05 20:36:23 +0300 |
commit | 16c90ad59837fa36fc48ae0ebb820c3e70a03a45 (patch) | |
tree | d2a7353dd48a8139374165b4b8118486936bee61 /README.md | |
parent | 3da7eedee1e68b27ced088de212ec48c074cbd38 (diff) |
Add matomo
Signed-off-by: Luis Garcia <luigi311.lg@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -148,6 +148,7 @@ These options set global values that some pages or all pages in the site use by | ga_analytics | string | no | | baidu_analytics | string | no | | plausible_analytics | boolean | no | +| matomo_analytics | boolean | no | | description | string | yes | | introDescription | string | no | | introURL | string/false | no | @@ -228,7 +229,7 @@ If using Google Analytics, configure the `ga_analytics` global parameter in your If using Baidu Analytics, configure the `baidu_analytics` global parameter in your site with your ID. -If using Plausible Analytics, configure the `plausible_analytics` global parameters in your site with following. +If using Plausible Analytics, configure the `plausible_analytics` global parameters in your site with the following. `enable` To enable plausible analytics change to `true`. @@ -238,6 +239,17 @@ If using Plausible Analytics, configure the `plausible_analytics` global paramet `scriptName` Default is set to plausible, this parameter is only required if using a custom name for script. +If using Matomo Analytics, configure the `matomo_analytics` global parameters in your site with the following. + +`enable` To enable matomo analytics change to `true`. + +`websiteDomain` Set the domain name of your website, in most cases same as your base URL this is required. + +`matomoDomain` Default is set to plausible.io, this parameter is only required if matomo is self-hosted. + +`matomoSiteID` Default is set to 1, change this to the siteid being tracked + + ### Blog directory Edit `config.toml` and change the `mainSections` key. Values will be directories where the blogs reside. |