You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2022/04/15 02:53:12 UTC

[apisix-website] branch fix-tag created (now 3a306d694a4)

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

juzhiyuan pushed a change to branch fix-tag
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


      at 3a306d694a4 fix: gtag

This branch includes the following new commits:

     new 3a306d694a4 fix: gtag

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[apisix-website] 01/01: fix: gtag

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch fix-tag
in repository https://gitbox.apache.org/repos/asf/apisix-website.git

commit 3a306d694a465d2538971d96d1aeda385e11f924
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Fri Apr 15 10:52:55 2022 +0800

    fix: gtag
---
 website/config/ssrTemplate.js | 6 ------
 website/docusaurus.config.js  | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/website/config/ssrTemplate.js b/website/config/ssrTemplate.js
index 25ef282802e..86dba3b46e6 100644
--- a/website/config/ssrTemplate.js
+++ b/website/config/ssrTemplate.js
@@ -5,11 +5,6 @@ module.exports = {
       <meta charset="UTF-8">
       <meta name="viewport" content="width=device-width, initial-scale=1.0">
       <meta name="generator" content="Docusaurus v<%= it.version %>">
-<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
-new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
-j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
-'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
-})(window,document,'script','dataLayer','GTM-K24PRPS');</script>
       <% if (it.noIndex) { %>
         <meta name="robots" content="noindex, nofollow" />
       <% } %>
@@ -25,7 +20,6 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
       <% }); %>
     </head>
     <body <%~ it.bodyAttributes %>>
-    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K24PRPS" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
       <%~ it.preBodyTags %>
       <div id="__docusaurus">
         <%~ it.appHtml %>
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index f1494236b44..c4366fd2b3d 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -90,7 +90,7 @@ module.exports = {
           exclude: ['**/downloads/ProjectCard.js'],
         },
         gtag: {
-          trackingID: 'G-WQLBQL6GY3',
+          trackingID: 'GTM-K24PRPS',
         },
       },
     ],