跳到内容

Simple Analytics Tag

v1.4.1

Rik · 2019年10月25日 上架

Placing Google Analytics and Google Tagmanager tags on your website made easy.

正在使用
40+
评分
暂无
累计下载
2,298
最近更新
2020年10月6日
需要 WordPress 5.2+已测试到 5.5.25

贡献者

截图

Add your UA or GTM code in the field. For GTM codes there are extra settings.
Add your UA or GTM code in the field. For GTM codes there are extra settings.

Simple Analytics Tag helps you get up and running quick.
This plugin has a non-intrusive interface and fits very well within the WordPress Settings menu.
Just paste in the ID from Google Tagmanager or Google Analytics and you are good to go.
For older themes that don’t support the hook right after the body tag there is a function available you can throw in to make it work. Easy!

Simple Analytics Tag contains the following features:

  • Google Tagmanager Code
  • Google Analytics Code
  • Just paste in the ID and save!
  • For older themes there is a custom hook
  • Simple and clean admin menu page

Note that there are themes that don’t have the ‘wp_body_open();’ hook below the body tag

For these older themes there is the option to put the second half of the Google Tagmanager code in the footer. This is not optimal but still works. If you have a custom theme you can add the hook below the body yourself or request an update on your theme at the shop that created it. Eitherway this plugin will work on the themes that have or do not have the hook. You will have to look in the source code if both Google Tagmanager code blocks are loaded.

DIY

For the DIY people there is an custom function you can use to paste the code in place.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums