google analytics config setting: encourage gtag, discourage google_analytics (fixes #1096)

This commit is contained in:
Dean Attali 2023-04-30 11:54:03 -04:00 committed by GitHub
parent e1facea35a
commit cdfd011f1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View file

@ -159,11 +159,8 @@ footer-hover-col: "#0085A1"
# --- Web Analytics Section --- #
#################################
# Fill in your Google Analytics gtag.js ID to track your website using gtag
#gtag: ""
# Fill in your Google Analytics ID to track your website using Google Analytics
#google_analytics: ""
# Fill in your Google Analytics tag ID (or "Measurement ID") to track your website usage
#gtag: "G-XXXXXXXXXX"
# Fill in your Cloudflare Analytics beacon token to track your website using Cloudflare Analytics
#cloudflare_analytics: ""
@ -179,6 +176,11 @@ footer-hover-col: "#0085A1"
# uri: "demo.wiki.pro"
# opt-out: true
# Gogle Universal Analytics ID -- deprecated
# As of July 2023 this is no longer supported by Google! If you are still using `google_analytics`,
# you should switch to using the `gtag` field above instead.
#google_analytics: "UA-XXXXXXXX-X"
####################
# --- Comments --- #
####################