admin管理员组文章数量:1391987
In one of my old websites I inserted GTM and GA tracking codes. Now when I run my website 'BathindaHelper' in G Chrome, its Tag extension shows 3 tags are running (2 for GTM and one for GA). But when I check my wordpress website's backend, I don't find the code inserted in the theme 'header.php' or 'footer.php'. I also deleted any plugins like 'Insert Headers & Footers' or similar.
How can I find and remove those tags?
In one of my old websites I inserted GTM and GA tracking codes. Now when I run my website 'BathindaHelper' in G Chrome, its Tag extension shows 3 tags are running (2 for GTM and one for GA). But when I check my wordpress website's backend, I don't find the code inserted in the theme 'header.php' or 'footer.php'. I also deleted any plugins like 'Insert Headers & Footers' or similar.
How can I find and remove those tags?
Share Improve this question edited Feb 17, 2020 at 12:31 fuxia♦ 107k39 gold badges255 silver badges459 bronze badges asked Feb 17, 2020 at 12:25 Bathinda HelperBathinda Helper 1012 bronze badges1 Answer
Reset to default 1Try switching to a default theme like Twenty Twenty. If the tags are still running, you'll know for sure they're coming from a plugin. And if they're not running, you'll know the tags are somewhere in the theme.
(It's highly recommended to disable editing the theme directly in wp-admin. It is safer to FTP in and upload/download the files, in case any issues arise, so you can easily revert changes. This also makes it easier to search through the files - many editors have a "find in files" search feature so you could look for your specific tracking code, i.e. search for your GA UA- number.)
本文标签: google analyticsHow to find and remove the tracking codes running in my wordpress site
版权声明:本文标题:google analytics - How to find and remove the tracking codes running in my wordpress site? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744741772a2622650.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论