diff --git a/docs/_config.yml b/docs/_config.yml index af3e9058e..097cc773b 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -22,7 +22,7 @@ baseurl: "/open5gs" # the subpath of your site, e.g. /blog url: "https://open5gs.org" # the base hostname & protocol for your site, e.g. http://example.com author: "Sukchan Lee" github_username: open5gs -google_analytics: UA-139225646-2 +google_analytics: G-12MQZTB3JH # Build settings markdown: kramdown diff --git a/docs/_includes/google-analytics.html b/docs/_includes/google-analytics.html index 9dffa1418..2f833bca0 100644 --- a/docs/_includes/google-analytics.html +++ b/docs/_includes/google-analytics.html @@ -1,10 +1,12 @@ - + + function gtag() { + dataLayer.push(arguments); + } + gtag('js', new Date()); + gtag('config', '{{ site.google_analytics }}'); + +{% endif %}