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 badges
Add a comment  | 

1 Answer 1

Reset to default 1

Try 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