Adding AdWords Conversion Tracking – Weird Template Issues
-
Hi everyone.
I’m attempting to add some code to our WP site for Google Ads conversion tracking.
I just need to add a code snippet before the closing body tag </body>
However, I am unable to do this.
I have edited the header.php file for my theme, but the change doesn’t take effect. My change is not reflected in the page source.
I have edited that file manually and uploaded it via php. No effect, my change is not reflected in the page source code.
I have used the WP Theme Editor to edit the file. No effect, my change is not reflected in the page source code.
It’s as if the site contents is cached, but I know there are no cache plugins. The site was using WP-Optimized but I uninstalled it. And I did clear the WP-O cache.
I have cleared my Google Chrome cache many times.
I have confirmed that I am working with the correct set of files on my localhost machine.
I have tried multiple browsers.
I have made sure the wp-content > cache directory is empty.
I’m currently running the site on localhost so I know there’s no CDN involved.
And since I’m working locally, there’s no web host or third party cache involved (like nginx or sucuri).
I tried renaming the “themes” directory to “themesBU” and the site still renders properly.
I also tried changing the directory names of every directory in “themes” and the site still servers and renders properly.
So I am completely stumped. With all the changes noted above I would expect the theme to break and the pages to either fail to load or load with an improper look/layout.
Here’s some details:
– WordPress 5.6
– Theme is storefront by automattic
– We are using Woocommerce
– Editor is BrizyAnyone have advice?
- The topic ‘Adding AdWords Conversion Tracking – Weird Template Issues’ is closed to new replies.