Linux 软件免费装
Banner图

DevLab Tag Dock

开发者 devlab33
更新时间 2026年11月26日 17:51
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

tracking analytics site verification pixel tag manager

下载

0.1.0

详情介绍:

DevLab Tag Dock has one settings screen with one field per service. You type the ID, and the plugin builds the tag. Tracking tags Site verification How it works Your theme needs to call wp_head(). A page that a cache stores keeps what it had when it was built, so clear the cache after changing settings. Consent The plugin does not show a consent banner and does not wait for consent: with an ID saved, the tag loads. We did not test it with consent plugins. Whether you need consent depends on the laws that apply to you. The plugin does not provide legal advice and does not make your site compliant with any law. Who can save A Tag Manager container can run scripts on your pages. For that reason saving on the settings screen needs two capabilities, manage_options and unfiltered_html, checked when the form is submitted and again before the values are stored. By default, only Super Admins hold unfiltered_html on a multisite network, and nobody holds it when DISALLOW_UNFILTERED_HTML is set to true. An administrator without it sees the screen with the fields disabled. What it stores Its settings in one option and, for each user who dismisses its notice, one user meta entry. It creates no database tables. When you delete the plugin from the Plugins screen (or with WP-CLI), both are removed from every site of the installation. About DevLab The plugin adds its screen under a DevLab menu, which it creates unless another DevLab plugin already did. That screen has one dismissible notice and a small box, each with a link to the DevLab Store (devlab.ia.br/store), which lists our free and paid plugins and a theme for WordPress. The plugin adds nothing promotional anywhere else in your dashboard, and no credit link to your public pages. This plugin is not affiliated with Google, Meta, Microsoft or Pinterest.

安装:

  1. Install and activate the plugin from the Plugins screen.
  2. Go to DevLab > Tag Dock.
  3. Type the IDs you use and click Save Changes.

屏幕截图:

  • A value in the wrong format is refused, and the screen says which field.
  • The "Meet DevLab" box on the settings screen.

升级注意事项:

0.1.0 First public release.

常见问题:

Can I add a chat widget or another script?

No. The plugin accepts only the IDs and codes listed above. If the service has a template in Google Tag Manager, you can add it there.

Should I fill in both Tag Manager and Analytics?

Only if your container does not already load Analytics. Otherwise visits may be counted twice.

I saved an ID and the tag does not appear.

Clear any cache or CDN, and check that your theme calls wp_head() and that you did not turn on "Do not load tracking tags for logged-in users" while testing as a logged-in user. Verification tags appear on the front page only.

Why are the fields disabled for me?

Your account does not have the unfiltered_html capability. See "Who can save" above.

Does it work with multisite?

Each site keeps its own settings. By default only Super Admins can save them.

更新日志:

0.1.0