From 3bcc6dc7961bed96457db0ae7cee7a30ffabac36 Mon Sep 17 00:00:00 2001 From: Zach Kimberg Date: Wed, 14 Jun 2023 17:15:11 -0700 Subject: [PATCH] Migrate google analytics (#2654) This switches from the existing Universal Analytics to Google Analytics 4 as the former will be deprecated at the end of the month. --- docs/mkdocs.yml | 7 ++++--- index.html | 14 ++++++-------- index1.0.html | 12 +++++------- website/blog.html | 11 ++++++----- website/demo.html | 11 +++++------ website/javadoc.html | 11 ++++++----- 6 files changed, 32 insertions(+), 34 deletions(-) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 8a88c39f337..1e377420dbb 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -18,9 +18,7 @@ theme: primary: light-blue accent: light-blue edit_uri: '' -google_analytics: - - UA-159559852-2 - - auto + extra: social: - icon: fontawesome/brands/github-alt @@ -31,6 +29,9 @@ extra: link: https://join.slack.com/t/deepjavalibrary/shared_invite/zt-ar91gjkz-qbXhr1l~LFGEIEeGBibT7w - icon: fontawesome/brands/zhihu link: https://zhuanlan.zhihu.com/c_1255493231133417472 + analytics: + provider: google + property: G-JE0V807433 docs_dir: '../' plugins: - search diff --git a/index.html b/index.html index a7a45c912df..b0fd5853823 100644 --- a/index.html +++ b/index.html @@ -3,15 +3,13 @@ - + + + + +