Skip to content

Commit

Permalink
google analytics config setting: encourage gtag, discourage google_an…
Browse files Browse the repository at this point in the history
…alytics (fixes daattali#1096)
  • Loading branch information
daattali committed Apr 30, 2023
1 parent e1facea commit cdfd011
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- Added `footer-hover-col` config setting to customize the hover colour of links in the footer (#848)
- Added social network links for Discord (#907), Kaggle (#961), and Hackerrank (#978)
- Made the home page feed more accessible for screen readers (#950)
- When using Google Analytics config setting, encourage using the new `gtag` and discourage using the deprecated `google_analytics` (#1096)

## v5.0.0 (2020-09-15)

Expand Down
12 changes: 7 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand All @@ -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 --- #
####################
Expand Down

0 comments on commit cdfd011

Please sign in to comment.