mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
Merge pull request #471 from liuboaibc/update_google_analytics_script
update google analytics script
This commit is contained in:
commit
77b8953255
|
|
@ -26,13 +26,14 @@
|
|||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
{{ if .Site.Params.addGoogleAnalytics }}
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YYCVN36HT5"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-181950513-1"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-YYCVN36HT5');
|
||||
|
||||
gtag('config', 'UA-181950513-1');
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue