Dolke Posted August 25, 2013 Share Posted August 25, 2013 Hi people, I just opened Alexa pro account and I about to insert their tracking code to my website. They specifically indicated that I should add this code on to every page of the website, but manually that's not an easy task. Is there some module or widget for doing that automatically? Ty Dean Link to comment Share on other sites More sharing options...
waldiPL Posted August 25, 2013 Share Posted August 25, 2013 some time ago i've got similar problem im using html block free and i pasted code into the "footer" i've got "footer" on each page in my store so it appears everywhere and works Link to comment Share on other sites More sharing options...
PascalVG Posted August 25, 2013 Share Posted August 25, 2013 Hi Dean, Yes, Waldi is right, the footer is the most logic place to put it: /themes/<your theme folder>/footer.php You have to tell us a little more if there's any visible block or so that comes with the tracking code, as it may need some layout definitions (css code) to make it nicely fit into your footer. pascal Link to comment Share on other sites More sharing options...
Rolige Posted August 25, 2013 Share Posted August 25, 2013 Just insert it on header.tpl of you active theme. Link to comment Share on other sites More sharing options...
Dolke Posted August 25, 2013 Author Share Posted August 25, 2013 Thank you all. Now I have 2 suggestions, one is footer.tpl and another one is header.tpl Whats the difference? Link to comment Share on other sites More sharing options...
waldiPL Posted August 25, 2013 Share Posted August 25, 2013 tracking code is usually a part of external website. It mean that browser need to connect to DNS servers, and load new website contents (tracking pixel) in some cases, when it is in header, may affect website load speed. It's because all things in header are loaded first (before other elements). if you paste it in footer - it will be loaded as "last" element so it will not affect website load speed. Link to comment Share on other sites More sharing options...
Dolke Posted August 25, 2013 Author Share Posted August 25, 2013 @waldiPL Thanks for this very useful information. I guess I have my solution now so I'll label this thread as SOLVED. Thank you all for participating and help. Dean Link to comment Share on other sites More sharing options...
Dolke Posted September 4, 2013 Author Share Posted September 4, 2013 Hi people. I have just one more page to verify. Alexa reported to me that I need to put the code on to one more page and that is mobile theme. What file do I need to modify in order to do that? Thank youDean Link to comment Share on other sites More sharing options...
Recommended Posts