Removing GA code from source code

Greetings! Installed GTM, so don’t need GA code in source. Removed Google Analytics plugin, yet source code remains. No luck finding that code via X>Theme Options, nor Appearance>Theme Editor. Can you assist by removing this code? Or let me know where that code resides. Thanks in advance. Tom

Hi Karen,

Thank you for reaching out to us. The code might have been added through your child theme in functions.php file. Please check that file and remove the code if you find.

If you’ve already removed the code then it could only be the cache issue, remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) after making changes to the site so that the code from the latest release is always in use. This will help you to avoid any potential errors.

If you still have problems then kindly get back to us with the URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case.

Thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.