AbanteCart Development > Customization help
Google analytics code
(1/1)
hani:
Hi
I have google analytics tracking code on my cart and recently i installed google tag assistant which checks the pages you surf for errors, and the result was that google assistant tags give the following error message {Code found outside of <head> tag} the code should be in the head tag otherwise the statistics will not be recorded correctly.
How can i enter the code in the <head> tag
Hani
jaja:
Add it to head.tpl
https:// github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/common/head.tpl
hani:
Hi
Thanks for your reply.
I have installed abantecart version 1.2.12 and the file you sent me is an older date than this version of the cart maybe it is for older versions of abantecart.
I YES i should download the file and uploaded it instead of the one on the site??
the file is head.tpl OR header.tpl
Hani
Navigation
[0] Message Index
Go to full version