Cannot locate code OpenCart 2.2 shop

104 Views Asked by At

I am trying to implement Google Tag Manager on my OpenCart store but have run into a strange problem.

This is the second time I'm trying to install GTM, and that is why when you go to my website www.eparhija.com and check out the home page source you can see a code snippet of the previous GTM implementation.

Now the problem is that I have removed that code snippet in the file it was located (header.tpl), but it is still visible on the website.

What could be the problem? Why is the code still there when it is removed in the file? Any help is appreciated. Thanks in advance.

1

There are 1 best solutions below

3
On

Did you remove it from default theme when you are using customtheme?

In catalog/view/theme -- if you have a folder other than default, also remove the code from the corresponding header.tpl file as well.