Linux 软件免费装

Hide GTM code

开发者 createaccord
更新时间 2024年9月3日 15:57
PHP版本: 7.4 及以上
WordPress版本: 6.6.1
版权: GPLv2 or later
版权网址: 版权信息

标签

meta SEO japan meta tag GTM

下载

1.0.6 1.0.7 1.0.8 1.0.2 1.0.0 1.0.1 1.0.3 1.0.4 1.0.5

详情介绍:

"Hide GTM Code" is a very simple plugin. GTM code will not be output when a user with "Create/Edit Articles" permissions is logged in, so it is recommended for people who do not want to measure their own access.

安装:

  1. Enter "Hide GTM code" in the plugin search field.
  2. Once you find this plugin, click "Install Now" to install and activate it.

屏幕截图:

  • "Settings" screen
  • "GSC Settings" screen"

升级注意事项:

1.0.7 Previously, the specification was "logged-in users will not be measured," but in this case, there was a risk that view-only users (such as subscribers) who do not have permission to create or edit articles and need to log in would not be measured, so the specification was changed to "output GTM code when not logged in or when a user without permission to create or edit articles logs in (measurement will not be performed while a user with permission to create or edit articles is logged in)." In addition, the message has been revised to match the new specification, and a supplementary explanation regarding initialization has been added. 1.0.6 Fixed an issue where a PHP warning due to insufficient data would be displayed if data was not migrated when moving the homepage. 1.0.5 Some themes embed HTML tags directly under the body tag as theme-specific elements, so selecting GTM in How to verify ownership of GSC fails. Added "HTML code setting screen" to solve this problem. 1.0.4 Since the specification to embed svg immediately after the body element added from WordPress 5.9 is prioritized, GTM's noscript was not detected, and GSC's ownership verification using GTM failed again. Fixed again. Fix details: Fixed code output priority again to output GTM noscript code before svg (priority set to '0'). 1.0.3 Fixed a bug that the value was not displayed on the screen when registering the input for the first time. (Because it was saved as data, it was displayed when you accessed it again. Please be assured that the data has not disappeared.) 1.0.2 Fixed a bug that GSC's ownership verification using GTM failed due to GTM's noscript not being judged due to the specification to embed svg immediately after the body element added from WordPress 5.9. Fix details: Fixed code output precedence to output GTM noscript code before svg. 1.0.1 Changed the translation method.

更新日志:

1.0.7 Previously, the specification was "logged-in users will not be measured," but in this case, there was a risk that view-only users (such as subscribers) who do not have permission to create or edit articles and need to log in would not be measured, so the specification was changed to "output GTM code when not logged in or when a user without permission to create or edit articles logs in (measurement will not be performed while a user with permission to create or edit articles is logged in)." In addition, the message has been revised to match the new specification, and a supplementary explanation regarding initialization has been added. 1.0.6 Fixed an issue where a PHP warning due to insufficient data would be displayed if data was not migrated when moving the homepage. 1.0.5 Some themes embed HTML tags directly under the body tag as theme-specific elements, so selecting GTM in How to verify ownership of GSC fails. Added "HTML code setting screen" to solve this problem. 1.0.4 Since the specification to embed svg immediately after the body element added from WordPress 5.9 is prioritized, GTM's noscript was not detected, and GSC's ownership verification using GTM failed again. Fixed again. Fix details: Fixed code output priority again to output GTM noscript code before svg (priority set to '0'). 1.0.3 Fixed a bug that the value was not displayed on the screen when registering the input for the first time. (Because it was saved as data, it was displayed when you accessed it again. Please be assured that the data has not disappeared.) 1.0.2 Fixed a bug that GSC's ownership verification using GTM failed due to GTM's noscript not being judged due to the specification to embed svg immediately after the body element added from WordPress 5.9. Fix details: Fixed code output precedence to output GTM noscript code before svg. 1.0.1 Changed the translation method. 1.0.0 released.