简体   繁体   English

谷歌标签管理器降低了谷歌洞察力的网站得分

[英]Google tag manager slows the website score on google insights

We have a magento 2 website where we added google tag manager for google analytics and some other operations.我们有一个 magento 2 网站,我们在其中添加了用于谷歌分析和其他一些操作的谷歌标签管理器。 But the problem is when we added this to our website, it slows down the website speed and website score on google insights.但问题是当我们将它添加到我们的网站时,它会减慢网站速度和网站在谷歌洞察力上的得分。 Is there any solution to improve website score while using google tag manage on our site?在我们的网站上使用谷歌标签管理时,是否有任何解决方案可以提高网站得分?

I have some websites with GTM installed and never faced a slow down after the installation.我有一些安装了 GTM 的网站,安装后从未遇到过速度变慢的问题。 I would recommend you check with your host if there is an abnormal consumption from other sources.如果有其他来源的异常消耗,我建议您与您的主机检查。 In my experience, most of the cases are related to robots and suspicious IPs.以我的经验,大多数案例都与机器人和可疑 IP 有关。 I have installed robot blocks and visit cpanel in a daily basis for blocking suspicious IPs and countries.我已经安装了机器人块并每天访问 cpanel 以阻止可疑的 IP 和国家/地区。 I also saw a drastic increase on performance after changing my hosting plan to dedicated host with GoDaddy with 6Gb RAM.在将我的托管计划更改为使用具有 6Gb RAM 的 GoDaddy 的专用主机后,我还看到了性能的大幅提升。

Via the Developer tools You can block gtm.js in your browser developer tools.通过开发者工具您可以在浏览器开发者工具中阻止 gtm.js。 This will prevent the loading of Google tag manager and the associated tags.这将阻止加载 Google 标签管理器和相关标签。 Once you have done this, you can run Google Lighthouse from your browser, to see how your scores improve.完成此操作后,您可以从浏览器运行 Google Lighthouse,以查看您的分数如何提高。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM