diff --git a/mkdocs.yml b/mkdocs.yml index 5c927fe91..8edad4fa5 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -102,9 +102,14 @@ extra: new: Added with last version wip: Work in progress analytics: - provider: matomo - site_id: 3 - provider_url: https://wp-stats.seatable.io/ + #provider: matomo + #site_id: 3 + #provider_url: https://wp-stats.seatable.io/ + + provider: posthog + posthog_api_key: phc_vIGSYAtCGptrMnB49dtq3PUZi21ivYsWaHQOiDlpF8Z + posthog_api_host: https://ph.seatable.com + posthog_ui_host: https://eu.posthog.com extra_css: - assets/stylesheets/extra.css diff --git a/overrides/partials/integrations/analytics/matomo.html b/overrides/partials/integrations/analytics/matomo.html index 25bd8e873..8153ed9fe 100644 --- a/overrides/partials/integrations/analytics/matomo.html +++ b/overrides/partials/integrations/analytics/matomo.html @@ -1,3 +1,4 @@ +{% if config.extra.analytics.site_id %} + +{% endif %} diff --git a/overrides/partials/integrations/analytics/posthog.html b/overrides/partials/integrations/analytics/posthog.html new file mode 100644 index 000000000..1d6b1f64f --- /dev/null +++ b/overrides/partials/integrations/analytics/posthog.html @@ -0,0 +1,18 @@ +{% if config.extra.analytics.posthog_api_key %} + +{% endif %} \ No newline at end of file