mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
feat(analytics.html): create partial to include analytics scripts for various analytics services (Google Analytics, Fathom Analytics, Baidu Analytics, Umami Analytics, Plausible Analytics, Cloudflare Analytics, Splitbee Analytics) to track website traffic and user behavior
56 lines
1.3 KiB
TOML
56 lines
1.3 KiB
TOML
# description of the site (will be placed in meta)
|
|
description = "Bridget is a minimal Hugo theme designed for photographers / visual artists."
|
|
# use bundled js and css
|
|
# * if you want to build the js and css from scratch, set this to false and run `npm install` and `npm run build`
|
|
# * tldr: set this to false if you want to edit the js and css
|
|
bundled = false
|
|
|
|
# Site verification code for Google/Bing/Yandex/Pinterest/Baidu
|
|
[verification]
|
|
google = ""
|
|
bing = ""
|
|
yandex = ""
|
|
pinterest = ""
|
|
baidu = ""
|
|
so = ""
|
|
sogou = ""
|
|
|
|
# Analytics config
|
|
[analytics]
|
|
enable = false
|
|
# Google Analytics
|
|
[analytics.google]
|
|
id = ""
|
|
# whether to anonymize IP
|
|
anonymizeIP = true
|
|
# Fathom Analytics
|
|
[analytics.fathom]
|
|
id = ""
|
|
# server url for your tracker if you're self hosting
|
|
server = ""
|
|
# Baidu Analytics
|
|
[analytics.baidu]
|
|
id = ""
|
|
# Umami Analytics
|
|
[analytics.umami]
|
|
data_website_id = ""
|
|
src = ""
|
|
data_host_url = ""
|
|
data_domains = ""
|
|
# Plausible Analytics
|
|
[analytics.plausible]
|
|
data_domain = ""
|
|
src = ""
|
|
# Cloudflare Analytics
|
|
[analytics.cloudflare]
|
|
token = ""
|
|
# Splitbee Analytics
|
|
[analytics.splitbee]
|
|
enable = false
|
|
# no cookie mode
|
|
No_cookie = true
|
|
# respect the do not track setting of the browser
|
|
Do_not_track = true
|
|
# token(optional), more info on https://splitbee.io/docs/embed-the-script
|
|
data_token = ""
|