update: add Matomo and Google analytics + Rewrite readme for a complete configuration

This commit is contained in:
Jean-Baptiste Pasquier
2020-04-01 12:12:55 +02:00
parent e9a6739b31
commit e62d32e6ae
4 changed files with 149 additions and 17 deletions

View File

@ -43,4 +43,13 @@ html(lang="en")
include page-events.pug
#admin(hidden).with-sidebar
include page-admin.pug
include page-admin.pug
if analytics
each provider in analytics
if provider.type && provider.url && provider.url
sib-analytics(
type=`${provider.type}`
url=`${provider.url}`
id=`${provider.id}`
)