| 开发者 | alexandrie |
|---|---|
| 更新时间 | 2025年8月17日 03:23 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 6.8 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_head and wp_body_open, ensuring compatibility and avoiding messy theme edits.
Features:
<head> and after <body>)/wp-content/plugins/ or install via Plugins > Add New.<noscript> iframe. The visitor’s browser then requests:\
– https://www.googletagmanager.com/gtm.js\
– https://www.googletagmanager.com/ns.html\
These requests send standard browser metadata (IP, user agent, referrer, page URL) to Google to serve the files.\
• Scope: Front-end pages only. The plugin does not transmit admin data.\
• Policies:\
– Google Tag Manager Terms of Service\
– Google Privacy Policy\
• Data stored by this plugin: None. The plugin does not log, transmit, or store visitor data in WordPress.No, not if you exclude their role from the settings panel.
<script> is injected in the <head> using wp_head.<noscript> fallback is injected after <body> using wp_body_open.wp_body_open?You'll see an admin notice prompting you to update your theme.
If your theme doesn’t support wp_body_open, you can manually add it by inserting <?php wp_body_open(); ?> immediately after the opening <body> tag in your theme’s header.php file.
Usually no — most modern themes include wp_head and wp_body_open. But if your theme is older or custom, you might need to add wp_body_open() manually after <body>.
wp_head and wp_body_open