Vilas Posted January 18, 2011 Share Posted January 18, 2011 HiI want to know in which section i.e. in which file we have to paste google analytic tracking code to get information about our site?RegardsVilas Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted January 18, 2011 Share Posted January 18, 2011 You need to install "Google Analytics" module from the BackOffice=>Modules, and then click "Configure". 1 Link to comment Share on other sites More sharing options...
gijomloy Posted January 29, 2011 Share Posted January 29, 2011 Hello,I have a related concern... I updated from Prestashop 1.3.1.1 to 1.3.6.0 and in the meantime managed to switch to simplified URLs by properly configuring my .htaccess . Now, when I go to my main page www.ganda.fr and check source code I do not find the section for Google Analytics even if the native "Google Analytics" module is properly configured. I checked on other Prestashop powered websites and they have this section in their code (I am pretty convinced I had it in the past too). Now, the weirdest thing is that Google Analytics is still working except for the "In-page analytics" but it is probably due to the fact I switched to simplified URL.Here is a simple question:Should I expect the Google Analytics section to appear in my source once I activate the associate module?Regards Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted January 29, 2011 Share Posted January 29, 2011 Yes, it should appear. Except if the {$HOOK_FOOTER} is not in the footer.tpl Did you changed the theme? Link to comment Share on other sites More sharing options...
gijomloy Posted January 29, 2011 Share Posted January 29, 2011 Thanks for your quick answer! I am still trying to figure what is going on here. I have my own template but footer.tpl is the original one. I even updated with the latest one from 1.3.6.0 (weirdly enough there is an extra that I cannot explain) but it does not change the conclusion: No special Google Analytics code in my page but the service still works. This is a mystery for me.For info, my footer.tpl:================================ {if !$content_only}<!-- Right --> {$HOOK_RIGHT_COLUMN} <!-- Footer -->{$HOOK_FOOTER} {/if} </body></html>================================Regards Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted January 29, 2011 Share Posted January 29, 2011 I don't see any other reason for not including the google analytics code. This should be debugged directly on the site. Link to comment Share on other sites More sharing options...
inveostore.com Posted January 29, 2011 Share Posted January 29, 2011 In 1.3.6.0 was included our patch for GA module and GA code is no longer displayed to users with "Maintenance IP address" which can be set in Back Office. It allows to get much more precision GA data, because it no longer count your own access. Link to comment Share on other sites More sharing options...
gijomloy Posted January 29, 2011 Share Posted January 29, 2011 Hmmm... I am trying to debug this but with Windows 7 very weak "search in file contents" feature, I am almost working blindfolded (damn I miss Unix, I need to find a decent search tool for Windows 7). I do not know if you feel like putting me on track on this one...In the Google Analytics module, there is a file called ganalyics.php declaring a function called "hookFooter". What is supposed to actually call this routine? (Now, you understand why I am trying to seach in file contents... Link to comment Share on other sites More sharing options...
gijomloy Posted January 29, 2011 Share Posted January 29, 2011 In 1.3.6.0 was included our patch for GA module and GA code is no longer displayed to users with "Maintenance IP address" which can be set in Back Office. It allows to get much more precision GA data, because it no longer count your own access. Hehe! That's what I figured out when looking at the code. I saw the following line and it rang a bell:================================if(Tools::getRemoteAddr() == Configuration::get('PS_MAINTENANCE_IP')) return ''; ================================Now I verified that if I remove my maintenance IP then the Google Analytics script shows!!! NICE!!!Thanks guys, this was really confusing since I could not see what Google sees!!!NOW, this leads to several questions:- Why isn't this new feature documented in the Backoffice?- Why isn't this new feature documented in the CHANGELOG?- Even worse, why is the module version still 1.2 if there is an update?!?Really confusing indeed...Thanks again for your help.PS: I guess the fact that the "in-page analytics" do not work is due to the simplified URLs. I guess I just have to wait for Google engines to figure out what happened on my site. Link to comment Share on other sites More sharing options...
inveostore.com Posted January 29, 2011 Share Posted January 29, 2011 When we posted this patch to Bugtracker we put a note that users may be confused by this Feature.The way how it was implemented is only up to PS devs so ask them (http://www.prestashop.com/bug_tracker/view/6797/), but I think they assign most of resources to 1.4 development so they do not want to spend too much time with old branch what is logical. Link to comment Share on other sites More sharing options...
gijomloy Posted January 29, 2011 Share Posted January 29, 2011 Yes, you forecasted 23 days ago that I would waste 2 hours figuring out what was going on! I would like to go forward and ask the PS devs as you suggested to understand how the community works.Should I post a comment in the bugtracker entry or ... ?If I want to do this is because I will probably contribute to the solution once I have understood it better.Thanks again and great improvement anyway! Link to comment Share on other sites More sharing options...
inveostore.com Posted January 29, 2011 Share Posted January 29, 2011 Should I post a comment in the bugtracker entry or ... ? I would say yes or you can open a new bug report. I don´t think PS devs have a time to read forums posts but maybe I am wrong. Link to comment Share on other sites More sharing options...
gijomloy Posted January 29, 2011 Share Posted January 29, 2011 Done!Thx Link to comment Share on other sites More sharing options...
Vilas Posted December 12, 2011 Author Share Posted December 12, 2011 Hi, Can anyone know how to get information about checkout? Like from which step buyer stopped buying product. So that we will do needful changes in site. Thanks Vilas Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted December 12, 2011 Share Posted December 12, 2011 Hi, Can anyone know how to get information about checkout? Like from which step buyer stopped buying product. So that we will do needful changes in site. Thanks Vilas I'm not sure if this is possible with the present "Google Analytics" integration, but a module can be developed that will tell you the last step of every abandoned cart, if that's what you're interested in. Link to comment Share on other sites More sharing options...
Vilas Posted December 12, 2011 Author Share Posted December 12, 2011 Hi, Thanks for prompt response. Do u have any such module? What will be price? Please suggest. Thanks Link to comment Share on other sites More sharing options...
Vilas Posted December 12, 2011 Author Share Posted December 12, 2011 Hi, Thanks for prompt response. Please let us know if you have any such module. Also what will be the price? Regards Vilas Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted December 14, 2011 Share Posted December 14, 2011 You have a PM regarding the module. Link to comment Share on other sites More sharing options...
Vilas Posted December 17, 2011 Author Share Posted December 17, 2011 Dear Ultradev, Thanks for details. Actually we are in starting phase and not in condition to buy. So it will be great if you have any free module or any modification method to get this information. Regards 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