CriterioNet Posted July 21, 2015 Share Posted July 21, 2015 (edited) I have a problem with the Google Analytics module and the performance option "Move JavaScript to the end." My account analytics can not bind properly because the code needs to be located in the header, and the option to "Move JavaScript to end" leads me analytics code outside the header, so it fails. If I turn off the option "Move JavaScript to the end" many functions do not load on my site ... that is, the website does not work correctly. For this reason, I must leave the option enabled. How I can fix this? There is another way to configure analytics modules or add analytics code in the header without me take the script at the end and error? Edited September 11, 2015 by CriterioNet (see edit history) Link to comment Share on other sites More sharing options...
garyjj127 Posted August 17, 2015 Share Posted August 17, 2015 Have you found a solution to this problem yet? It's extremely odd that it doesn't work, and incredibly frustrating!! Link to comment Share on other sites More sharing options...
CriterioNet Posted August 18, 2015 Author Share Posted August 18, 2015 Have you found a solution to this problem yet? It's extremely odd that it doesn't work, and incredibly frustrating!! It really is very frustrating! I do not understand why not other people have this problem if two functions are almost essential. I have not yet found a solution. I just went back to the two modules installed and configured GA Analytics to see the results, but I could not use panels in the back office analytics and configure it properly Link to comment Share on other sites More sharing options...
CriterioNet Posted September 8, 2015 Author Share Posted September 8, 2015 Have you found a solution to this problem yet? It's extremely odd that it doesn't work, and incredibly frustrating!! Friend, do you not find the solution to this problem yet? Link to comment Share on other sites More sharing options...
garyjj127 Posted September 9, 2015 Share Posted September 9, 2015 Friend, do you not find the solution to this problem yet? I managed to find a work around for it here https://gist.github.com/hereswhatidid/8c8edef106ee95138b03 It's a little confusing to start with but it does seem to work! Link to comment Share on other sites More sharing options...
CriterioNet Posted September 11, 2015 Author Share Posted September 11, 2015 I managed to find a work around for it here https://gist.github.com/hereswhatidid/8c8edef106ee95138b03 It's a little confusing to start with but it does seem to work! I found a solution thanks to Presta-Lab, if you're interested! https://www.prestashop.com/forums/topic/455708-solucionado-problema-con-el-m%C3%B3dulo-de-analytics-y-la-opci%C3%B3n-mover-javascript-al-final/page-2 Regards. Link to comment Share on other sites More sharing options...
Giuseppe C. Posted November 6, 2016 Share Posted November 6, 2016 Thank for solution https://gist.github....ef106ee95138b03 Link to comment Share on other sites More sharing options...
Recommended Posts