This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 60d0b76  add Global site tag (gtag.js) - Google Analytics (#533)
60d0b76 is described below

commit 60d0b767f08d9b5f1f63f453156865e464f181ad
Author: lifeng <[email protected]>
AuthorDate: Mon Nov 22 14:31:18 2021 +0800

    add Global site tag (gtag.js) - Google Analytics (#533)
    
    * updata sitemap.xml
    
    updata sitemap.xml
    
    * Update redirect.ejs
    
    ADD Global site tag (gtag.js) - Google Analytics
    
    * Update template.ejs
---
 redirect.ejs | 9 +++++++++
 template.ejs | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/redirect.ejs b/redirect.ejs
index b72e08e..9e2ea6f 100644
--- a/redirect.ejs
+++ b/redirect.ejs
@@ -27,5 +27,14 @@
       s.parentNode.insertBefore(hm, s);
     })();
   </script>
+  <!-- Global site tag (gtag.js) - Google Analytics -->
+  <script async 
src="https://www.googletagmanager.com/gtag/js?id=G-899J8PYKJZ";></script>
+  <script>
+    window.dataLayer = window.dataLayer || [];
+    function gtag(){dataLayer.push(arguments);}
+    gtag('js', new Date());
+
+    gtag('config', 'G-899J8PYKJZ');
+  </script>
 </body>
 </html>
\ No newline at end of file
diff --git a/template.ejs b/template.ejs
index e7e431f..c17821a 100644
--- a/template.ejs
+++ b/template.ejs
@@ -34,5 +34,14 @@
       s.parentNode.insertBefore(hm, s);
     })();
   </script>
+  <!-- Global site tag (gtag.js) - Google Analytics -->
+  <script async 
src="https://www.googletagmanager.com/gtag/js?id=G-899J8PYKJZ";></script>
+  <script>
+    window.dataLayer = window.dataLayer || [];
+    function gtag(){dataLayer.push(arguments);}
+    gtag('js', new Date());
+
+    gtag('config', 'G-899J8PYKJZ');
+  </script>
 </body>
 </html>
\ No newline at end of file

Reply via email to