From 0d23b973de170dc66c3cdc32743eefb7244a56e9 Mon Sep 17 00:00:00 2001 From: spylecym <1262965753@qq.com> Date: Fri, 6 Sep 2024 10:35:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=98=E7=BD=91=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=8C=89=E9=92=AE=E6=96=B0=E5=A2=9E=E8=B0=B7?= =?UTF-8?q?=E6=AD=8C=E5=88=86=E6=9E=90=E4=BA=8B=E4=BB=B6=E8=BF=BD=E8=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/site/en/about.html | 21 +++++++++++++++++++++ public/site/en/download.html | 21 +++++++++++++++++++++ public/site/en/help.html | 21 +++++++++++++++++++++ public/site/en/index.html | 21 +++++++++++++++++++++ public/site/en/log.html | 21 +++++++++++++++++++++ public/site/en/price.html | 21 +++++++++++++++++++++ public/site/en/product.html | 21 +++++++++++++++++++++ public/site/en/solutions.html | 21 +++++++++++++++++++++ public/site/zh/about.html | 21 +++++++++++++++++++++ public/site/zh/download.html | 21 +++++++++++++++++++++ public/site/zh/help.html | 21 +++++++++++++++++++++ public/site/zh/index.html | 21 +++++++++++++++++++++ public/site/zh/log.html | 21 +++++++++++++++++++++ public/site/zh/price.html | 21 +++++++++++++++++++++ public/site/zh/product.html | 21 +++++++++++++++++++++ public/site/zh/solutions.html | 21 +++++++++++++++++++++ 16 files changed, 336 insertions(+) diff --git a/public/site/en/about.html b/public/site/en/about.html index 3584c6f8b..d5b42fab7 100644 --- a/public/site/en/about.html +++ b/public/site/en/about.html @@ -565,6 +565,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -576,6 +583,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -584,6 +598,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/en/download.html b/public/site/en/download.html index e25e365f1..62ffbe7ea 100644 --- a/public/site/en/download.html +++ b/public/site/en/download.html @@ -531,6 +531,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -542,6 +549,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -550,6 +564,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/en/help.html b/public/site/en/help.html index 7bb0527f4..3ed3e4621 100644 --- a/public/site/en/help.html +++ b/public/site/en/help.html @@ -2530,6 +2530,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -2541,6 +2548,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -2549,6 +2563,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/en/index.html b/public/site/en/index.html index 95a4f6b2a..39eb3495a 100644 --- a/public/site/en/index.html +++ b/public/site/en/index.html @@ -793,6 +793,13 @@ const arcs = document.querySelector('.home_arc'); if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -804,6 +811,13 @@ const arcs = document.querySelector('.home_arc'); if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -812,6 +826,13 @@ const arcs = document.querySelector('.home_arc'); if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/en/log.html b/public/site/en/log.html index 7d31f2e78..680819644 100644 --- a/public/site/en/log.html +++ b/public/site/en/log.html @@ -575,6 +575,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -586,6 +593,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -594,6 +608,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/en/price.html b/public/site/en/price.html index f08852272..278e39f6f 100644 --- a/public/site/en/price.html +++ b/public/site/en/price.html @@ -1356,6 +1356,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -1367,6 +1374,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -1375,6 +1389,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/en/product.html b/public/site/en/product.html index 8ce20b211..2e67f259d 100644 --- a/public/site/en/product.html +++ b/public/site/en/product.html @@ -766,6 +766,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -777,6 +784,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -785,6 +799,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/en/solutions.html b/public/site/en/solutions.html index c8ec6788a..7c36c811a 100644 --- a/public/site/en/solutions.html +++ b/public/site/en/solutions.html @@ -411,6 +411,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -422,6 +429,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -430,6 +444,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/zh/about.html b/public/site/zh/about.html index d75ebb277..5a2f18db9 100644 --- a/public/site/zh/about.html +++ b/public/site/zh/about.html @@ -565,6 +565,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -576,6 +583,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -584,6 +598,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/zh/download.html b/public/site/zh/download.html index 4530b12d6..6346c26e9 100644 --- a/public/site/zh/download.html +++ b/public/site/zh/download.html @@ -529,6 +529,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -540,6 +547,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -548,6 +562,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/zh/help.html b/public/site/zh/help.html index dfddc4037..c50f37f6b 100644 --- a/public/site/zh/help.html +++ b/public/site/zh/help.html @@ -891,6 +891,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -902,6 +909,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -910,6 +924,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/zh/index.html b/public/site/zh/index.html index 6c9832846..502104f2b 100644 --- a/public/site/zh/index.html +++ b/public/site/zh/index.html @@ -793,6 +793,13 @@ const arcs = document.querySelector('.home_arc'); if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -804,6 +811,13 @@ const arcs = document.querySelector('.home_arc'); if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -812,6 +826,13 @@ const arcs = document.querySelector('.home_arc'); if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/zh/log.html b/public/site/zh/log.html index 39e1bdf9d..700608c5f 100644 --- a/public/site/zh/log.html +++ b/public/site/zh/log.html @@ -573,6 +573,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -584,6 +591,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -592,6 +606,13 @@ document.addEventListener('DOMContentLoaded', function() { if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/zh/price.html b/public/site/zh/price.html index b02adfc05..5f568ef78 100644 --- a/public/site/zh/price.html +++ b/public/site/zh/price.html @@ -1362,6 +1362,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -1373,6 +1380,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -1381,6 +1395,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/zh/product.html b/public/site/zh/product.html index 0f1e6a800..ed990d005 100644 --- a/public/site/zh/product.html +++ b/public/site/zh/product.html @@ -767,6 +767,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -778,6 +785,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -786,6 +800,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none"; diff --git a/public/site/zh/solutions.html b/public/site/zh/solutions.html index 0daf59f04..201d381be 100644 --- a/public/site/zh/solutions.html +++ b/public/site/zh/solutions.html @@ -412,6 +412,13 @@ if(toolbarPhone){ toolbarPhone.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_phone' + }); + } toggleTooltip(tooltipPhone) tooltipWhtasapp.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -423,6 +430,13 @@ if(toolbarWhtasapp){ toolbarWhtasapp.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_Whtasapp' + }); + } toggleTooltip(tooltipWhtasapp) tooltipPhone.style.display = "none"; tooltipQrcode.style.display = "none"; @@ -431,6 +445,13 @@ if(toolbarQrcode){ toolbarQrcode.addEventListener("click", ()=>{ event.stopPropagation(); + // 谷歌分析事件追踪 + if(gtag){ + gtag('event', 'click', { + 'event_category': 'button', + 'event_label': 'right_side_toolbar_WeChat' + }); + } toggleTooltip(tooltipQrcode) tooltipPhone.style.display = "none"; tooltipWhtasapp.style.display = "none";