Update to current version
All checks were successful
Building & Deploying Website / Deploy-Website (push) Successful in 12s
All checks were successful
Building & Deploying Website / Deploy-Website (push) Successful in 12s
This commit is contained in:
6
themes/hugo-coder/docs/analytics/applicationinsights.md
Normal file
6
themes/hugo-coder/docs/analytics/applicationinsights.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Application Insights
|
||||
|
||||
```toml
|
||||
[params.applicationInsights]
|
||||
connectionString = "connectionstring" # https://docs.microsoft.com/en-us/azure/azure-monitor/app/sdk-connection-string
|
||||
```
|
||||
25
themes/hugo-coder/docs/analytics/baidu.md
Normal file
25
themes/hugo-coder/docs/analytics/baidu.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Baidu
|
||||
|
||||
To use Baidu analytics in this theme, navigate to the setting page of your
|
||||
site at <https://tongji.baidu.com/>. You will get a piece of JS code provided
|
||||
as follows:
|
||||
|
||||
```js
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?<your_token_at_here>";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
```
|
||||
|
||||
Then you can use it by filling your site toke `your_token_at_here` in the
|
||||
config file:
|
||||
|
||||
```toml
|
||||
[params.baidu]
|
||||
token = "your_token_at_here"
|
||||
```
|
||||
6
themes/hugo-coder/docs/analytics/clicky.md
Normal file
6
themes/hugo-coder/docs/analytics/clicky.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Clicky
|
||||
|
||||
```toml
|
||||
[params.clicky]
|
||||
id = "site-id"
|
||||
```
|
||||
6
themes/hugo-coder/docs/analytics/cloudflare.md
Normal file
6
themes/hugo-coder/docs/analytics/cloudflare.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Cloudflare
|
||||
|
||||
```toml
|
||||
[params.cloudflare]
|
||||
token = "token"
|
||||
```
|
||||
7
themes/hugo-coder/docs/analytics/fathom.md
Normal file
7
themes/hugo-coder/docs/analytics/fathom.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Fathom Analytics
|
||||
|
||||
```toml
|
||||
[params.fathomAnalytics]
|
||||
siteID = "ABCDE"
|
||||
serverURL = "cdn.usefathom.com" # (optional) Replace if you use a custom domain
|
||||
```
|
||||
6
themes/hugo-coder/docs/analytics/goatcounter.md
Normal file
6
themes/hugo-coder/docs/analytics/goatcounter.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Goat Counter
|
||||
|
||||
```toml
|
||||
[params.goatCounter]
|
||||
code = "code" # You will access your account at https://[code].goatcounter.com
|
||||
```
|
||||
3
themes/hugo-coder/docs/analytics/googleanalytics.md
Normal file
3
themes/hugo-coder/docs/analytics/googleanalytics.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Google Analytics
|
||||
|
||||
Follow [these steps](https://gohugo.io/templates/internal/#configure-google-analytics).
|
||||
6
themes/hugo-coder/docs/analytics/googletagmanager.md
Normal file
6
themes/hugo-coder/docs/analytics/googletagmanager.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Google Tag Manager
|
||||
|
||||
```toml
|
||||
[params.googleTagManager]
|
||||
id = "gid"
|
||||
```
|
||||
7
themes/hugo-coder/docs/analytics/matomo.md
Normal file
7
themes/hugo-coder/docs/analytics/matomo.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Matomo
|
||||
|
||||
```toml
|
||||
[params.matomo]
|
||||
siteID = "ABCDE"
|
||||
serverURL = "analytics.example.com"
|
||||
```
|
||||
7
themes/hugo-coder/docs/analytics/microanalytics.md
Normal file
7
themes/hugo-coder/docs/analytics/microanalytics.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# microanalytics.io
|
||||
|
||||
```toml
|
||||
[params.microAnalytics]
|
||||
id = "ABCDE"
|
||||
dnt = "false" # respect DNT tracker, "true" by default
|
||||
```
|
||||
23
themes/hugo-coder/docs/analytics/onedollarstats.md
Normal file
23
themes/hugo-coder/docs/analytics/onedollarstats.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# One Dollars Stats
|
||||
|
||||
```toml
|
||||
[params.onedollarstats]
|
||||
id = "data-site-id"
|
||||
```
|
||||
|
||||
You will also need to update your content security policy:
|
||||
|
||||
```toml
|
||||
[params.csp]
|
||||
...
|
||||
scriptsrc = [
|
||||
...
|
||||
"https://assets.onedollarstats.com",
|
||||
]
|
||||
...
|
||||
connectsrc = [
|
||||
...
|
||||
"https://assets.onedollarstats.com",
|
||||
...
|
||||
]
|
||||
```
|
||||
6
themes/hugo-coder/docs/analytics/pirsch.md
Normal file
6
themes/hugo-coder/docs/analytics/pirsch.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Pirsch
|
||||
|
||||
```toml
|
||||
[params.pirsch]
|
||||
code = "ABCDE"
|
||||
```
|
||||
7
themes/hugo-coder/docs/analytics/plausible.md
Normal file
7
themes/hugo-coder/docs/analytics/plausible.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Plausible Analytics
|
||||
|
||||
```toml
|
||||
[params.plausibleAnalytics]
|
||||
domain = "example.com"
|
||||
serverURL = "plausible.io" # (optional) Replace if you use a custom domain
|
||||
```
|
||||
9
themes/hugo-coder/docs/analytics/umami.md
Normal file
9
themes/hugo-coder/docs/analytics/umami.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Umami
|
||||
|
||||
```toml
|
||||
[params.umami]
|
||||
siteID = "ABCDE"
|
||||
scriptURL = "analytics.REGION.umami.is/SCRIPTNAME.js"
|
||||
# refer to the "tracking code" tab in your umami website dashboard
|
||||
# to obtain the script url
|
||||
```
|
||||
6
themes/hugo-coder/docs/analytics/vercel.md
Normal file
6
themes/hugo-coder/docs/analytics/vercel.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Vercel Analytics
|
||||
|
||||
```toml
|
||||
[params]
|
||||
vercelAnalytics = true
|
||||
```
|
||||
25
themes/hugo-coder/docs/analytics/wideangle.md
Normal file
25
themes/hugo-coder/docs/analytics/wideangle.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Wide Angle Analytics
|
||||
|
||||
Wide Angle Analytics is strictly **GDPR** compliant, privacy-first web analytics. Head to [wideangle.co](https://wideangle.co/) and create you free trial account now.
|
||||
|
||||
## Configuration
|
||||
|
||||
Built in template supports following configuration options:
|
||||
|
||||
param | description | required | default
|
||||
------|-------------|----------|--------
|
||||
siteID| A site ID from [Wide Angle site](https://wideangle.co/documentation/web-analytics-for-your-website)| :white_check_mark: | n/a
|
||||
serverURL | [Domain](https://wideangle.co/documentation/track-with-custom-domain) with which the WAA is configured with | :x: | stats.wideangle.co
|
||||
fingerprint | Enable advanced session fingerprint; requires user consent | :x: | false
|
||||
supressDNT | Ignore Do-Not-Track setting in the browser | :x: | false
|
||||
|
||||
|
||||
## Example
|
||||
|
||||
```toml
|
||||
[params.wideAngleAnalytics]
|
||||
siteID = "1D4EG3B9ACA03F4243"
|
||||
serverURL = "fyi.wideangle.co"
|
||||
fingerprint = "false"
|
||||
supressDNT = "false"
|
||||
```
|
||||
Reference in New Issue
Block a user