开发者 |
ronalfy
pereirinha ruskinconsulting |
---|---|
更新时间 | 2023年9月3日 00:20 |
捐献地址: | 去捐款 |
PHP版本: | 3.9 及以上 |
WordPress版本: | 6.3.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
<?php do_action( 'body_open' ); ?>
just after the <body>
tag, and that’s it.
Note, If you are using WordPress 5.2. and up, contact your theme developer and ask them to insert <?php wp_body_open(); ?>
just after the opening body tag of their theme. Here is some code to show the theme developer to make it compatible with Metronet Tag Manager.
Please let us know if you have any feature requests or issues with this plugin.
Below are a couple of resources you might find valuable if you are new to Google Tag Manager
Official Google Tag Manager website
https://developers.google.com/tag-manager/
Tracking Google Analytics Events with Google Tag Manager
http://moz.com/ugc/tracking-google-analytics-events-with-google-tag-manager
Make Analytics Better with Tag Management and a Data Layer
http://cutroni.com/blog/2012/05/14/make-analytics-better-with-tag-management-and-a-data-layer/
header.php
to include <?php do_action( 'body_open' ); ?>
right after the opening <body>
tag.
Note: if you are using WordPress 5.2. and up, contact your theme developer and ask them to insert <?php wp_body_open(); ?>
just after the opening body tag of their theme. Here is some code to show the theme developer to make it compatible with Metronet Tag Manager.
For custom values, please see the filters section on GitHub.Please refer to the Google Tag Manager FAQ.
Please refer to the Google Tag Manager API reference.
The data layer is an object that contains the information that you want to pass to Google Tag Manager. By setting up rules in Google Tag Manager, these variables can then be used to include the correct snippets or scripts – for example, when a certain button is clicked.
Yes. For custom values, please see the filters section on GitHub.