lastcowboy Posted December 18, 2009 Share Posted December 18, 2009 Hi I am using prestashop 1.1 I did not change any code except to allow facebook login.I have installed and configured the analytics module as required but i am receiving no stats from it.Please advise.My previous request for help was ignored and i am desperate for help.I am willing to pay to have people sort this thing out for me.Please help me.Thank you. Link to comment Share on other sites More sharing options...
tomerg3 Posted December 18, 2009 Share Posted December 18, 2009 Do you see the analytics code if you do "View source" on your site from a browser? Link to comment Share on other sites More sharing options...
lastcowboy Posted December 18, 2009 Author Share Posted December 18, 2009 if you mean the urchin tracker, no i do not see it.I had to manually put it in the footer.tpl.That is not how it is supposed to work yes? Link to comment Share on other sites More sharing options...
tomerg3 Posted December 18, 2009 Share Posted December 18, 2009 I don't know what is an Urchin tracker.If you enable the google analytics module, and enter your Tracking Id in the module configuration, you should see the following code at the bottom of your files (when you do "view source") [removed] var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); [removed](unescape("[removed][removed]")); [removed] [removed] var pageTracker = _gat._getTracker("UA-1234567-1"); pageTracker._trackPageview(); [removed] Link to comment Share on other sites More sharing options...
lastcowboy Posted December 18, 2009 Author Share Posted December 18, 2009 i saw something like that only in a function called HookFooter inside the file ganalytics.phpbut i do not see it in the view source of the webpage itself. Link to comment Share on other sites More sharing options...
lastcowboy Posted December 18, 2009 Author Share Posted December 18, 2009 Oh thank you. You helped me to figure it out. Apparently there is a $HOOK_FOOTER which was commented out by mistake in the footer.tpl inside the new theme.Thank you for your help. You were great. It took me over a month to figure it out. Link to comment Share on other sites More sharing options...
tomerg3 Posted December 18, 2009 Share Posted December 18, 2009 Better late than never Good luck with your shop.... Link to comment Share on other sites More sharing options...
lastcowboy Posted December 20, 2009 Author Share Posted December 20, 2009 Hi after i revealed the $HOOK_FOOTER, and reverted back to the use of prestashop own internal analytics module, the stats are not being kept by analytics.Please help me to figure this out. Link to comment Share on other sites More sharing options...
tomerg3 Posted December 20, 2009 Share Posted December 20, 2009 Do you see the Analytics code in your site (when you do view source)?If you do, then it's working (google takes some time to update the stats), if not, than you may need to look again and see if you made any other changes that are messing up with the code. Link to comment Share on other sites More sharing options...
lastcowboy Posted December 20, 2009 Author Share Posted December 20, 2009 I have read abit of the google analytics documentation.Apparently, the analytics code needs to be IMMEDIATELY BEFORE the </body> tag.So i have moved the {$HOOK_FOOTER} to just before the ending </body> tag in the footer.tpl.Fingers crossed that it will work, when i checked my stats tomorrow. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now