| 开发者 | devlab33 |
|---|---|
| 更新时间 | 2026年11月26日 17:51 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
async script per ID and one short inline script, in the head. The Meta Pixel is Meta's base code, without its noscript image, so visitors without JavaScript are not counted.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.
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.
Only if your container does not already load Analytics. Otherwise visits may be counted twice.
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.
Your account does not have the unfiltered_html capability. See "Who can save" above.
Each site keeps its own settings. By default only Super Admins can save them.