Ben90 Posted February 12, 2015 Share Posted February 12, 2015 (edited) Hi guys, I am using prestashop 1.6.0.9 with google analytics module v2.0.7 which is the latest one, I just updated it yesterday. Since a week ago it suddenly appeared on Google Tag Assistant (a chrome add on by Google), shown 1 error message said "No HTTP response detected". If I go to google site, it's written like this: Missing HTTP ResponseMissing HTTP Response denotes that, while the Google Analytics code was detected in the page source, the script itself did not execute. Each time the Google Analytics script executes, we expect an HTTP Response carrying the tracking request to Google’s servers. This means that the Google Analytics code is not implemented properly on the page and no data will be collected. Recommended Action: Reinstall the Google Analytics snippet by removing the current iteration, copy a new version from the Analytics interface, and insert that version into the site. I try to reset the module, it still shown an error like that. Everything was fine until last week. But actually if I open Google Analytics, they still received visitors data from our website. Is it just a false alarm or something? Edited February 12, 2015 by rukano (see edit history) Link to comment Share on other sites More sharing options...
Ben90 Posted February 13, 2015 Author Share Posted February 13, 2015 Anybody familiars with Google Analytics? Link to comment Share on other sites More sharing options...
Ben90 Posted February 15, 2015 Author Share Posted February 15, 2015 No one here using it? impossibru Link to comment Share on other sites More sharing options...
Ben90 Posted February 24, 2015 Author Share Posted February 24, 2015 (edited) Confirmed just a conflict between Google TA extension with Ad Block Plus extension on Chrome Edited April 13, 2015 by Ben90 (see edit history) Link to comment Share on other sites More sharing options...
prostrona Posted April 9, 2015 Share Posted April 9, 2015 I Confirm. In all categories. Link to comment Share on other sites More sharing options...
collecti-whai Posted April 20, 2015 Share Posted April 20, 2015 I have same problem. I have no other extensions than TAG ASSISTANT and more, i have informations on my Google Analytics report?! Very strange behaviours! Link to comment Share on other sites More sharing options...
Ben90 Posted April 22, 2015 Author Share Posted April 22, 2015 I have same problem. I have no other extensions than TAG ASSISTANT and more, i have informations on my Google Analytics report?! Very strange behaviours! You can try to raise your problem here: https://plus.google.com/communities/105448214237192581344 Link to comment Share on other sites More sharing options...
lao1963 Posted April 24, 2015 Share Posted April 24, 2015 same problem for me...some news? Link to comment Share on other sites More sharing options...
collecti-whai Posted April 27, 2015 Share Posted April 27, 2015 I have post on google page, no response. And i still have this problem. Sorry... Link to comment Share on other sites More sharing options...
lao1963 Posted April 27, 2015 Share Posted April 27, 2015 I solved in this way, visibility of products for page was 30 items for page and this was cause of malfunction of analytics, now i've setting 9 items for page and problem is solved. The customer have the possibility for select a major number of items manually, but usually my shop give visibility of only nine items so, the page is more light and this seem better for analytics, maybe for page less heavy. However with this setting now all work perfectly Link to comment Share on other sites More sharing options...
st0le Posted July 6, 2015 Share Posted July 6, 2015 Hello, I have the same problem.. Any solution? Cheers, Link to comment Share on other sites More sharing options...
FredActin Posted October 28, 2015 Share Posted October 28, 2015 Hey guys, I know the thread is marked as solved but others still had the same issue is seems and I too had the same problem. I have found a simple fix - after seeing that one of my shop was still working while the others weren't. All my shop are on Presta 1.6 but one of them was using an outdated version of the Google Analytics module (version 1.3). I uploaded this old version to my other shops and sure enough the HTTP response error disappeared. Hope this helps others! 1 Link to comment Share on other sites More sharing options...
ReactionCode Posted October 28, 2015 Share Posted October 28, 2015 Google Analytics is a fundamental part of any site, if you don't want any problems with Google Analytics, please take a look this module. http://addons.prestashop.com/en/analytics-stats-prestashop-modules/18623-premium-google-analytics-enhanced-ecommerce.html Link to comment Share on other sites More sharing options...
Ben90 Posted October 28, 2015 Author Share Posted October 28, 2015 There is another way to make everything run smoothly, try to use Google Tag Manager. Read a simple tutorial on the official site. https://www.google.com.au/tagmanager/ With this, you can uninstall Google Analytics module on Prestashop & you don't need to buy any module for analytics. Link to comment Share on other sites More sharing options...
Mejaro Posted November 11, 2015 Share Posted November 11, 2015 (edited) [sOLVED] On CCC (Combine compress cache) > Disable "move javascript to the end" > Make the code working but the became uncorrect... > Disable "Compress inline javascript to HTML" > If disabled it don't modify the code and everything work! Google Tag assistant (chrome extension) became green! Edited November 11, 2015 by Mejaro (see edit history) 3 Link to comment Share on other sites More sharing options...
[email protected] Posted September 21, 2016 Share Posted September 21, 2016 No http response error still happening on my shop with tag manager. What else can i try? Link to comment Share on other sites More sharing options...
Aloud Posted December 12, 2016 Share Posted December 12, 2016 Hey guys, I know the thread is marked as solved but others still had the same issue is seems and I too had the same problem. I have found a simple fix - after seeing that one of my shop was still working while the others weren't. All my shop are on Presta 1.6 but one of them was using an outdated version of the Google Analytics module (version 1.3). I uploaded this old version to my other shops and sure enough the HTTP response error disappeared. Hope this helps others! Hi do you have a copy of the 1.3 module? Link to comment Share on other sites More sharing options...
FredActin Posted December 12, 2016 Share Posted December 12, 2016 Hi do you have a copy of the 1.3 module? Yes I do, I uploaded it here: https://mega.nz/#!xBRlyaJJ!J0e85NjfW-cAZkm8T-QhLkxafy3_ST6YMVpJqMGE_hY Hope this works for you! Link to comment Share on other sites More sharing options...
Thissel Posted December 15, 2016 Share Posted December 15, 2016 Have you tried deactivating "User ID tracking" in the module settings? That solved it for me. Link to comment Share on other sites More sharing options...
Doulas Akula Posted December 17, 2016 Share Posted December 17, 2016 Move JavaScript to the end in performance settings worked for me as well. Thanks. Link to comment Share on other sites More sharing options...
raphaPS Posted January 10, 2017 Share Posted January 10, 2017 Using google analytics v1.3 module instead of the v2.3.4 worked for me as well.. no more tag assitant NO HTTP response detected Link to comment Share on other sites More sharing options...
tosasilviu Posted March 6, 2017 Share Posted March 6, 2017 [sOLVED] On CCC (Combine compress cache) > Disable "move javascript to the end" > Make the code working but the became uncorrect... > Disable "Compress inline javascript to HTML" > If disabled it don't modify the code and everything work! Google Tag assistant (chrome extension) became green! Works !!! Thank youu Link to comment Share on other sites More sharing options...
tommy45 Posted December 12, 2017 Share Posted December 12, 2017 Hi, none of this solutions helped me, but I found answer here: https://www.digitaldot.es/noticias-informaticas/noticias-actualidad/107-fallo-de-instalacion-de-google-analytics-en-prestashop maybe it will help somebody else. 1 1 Link to comment Share on other sites More sharing options...
DD_DD2 Posted January 16, 2018 Share Posted January 16, 2018 I now it's an old post but if it could help some of us ... As for me, the "deactivate Google analytics" extension was installed in Chrome. If removed, everything goes well. Which seems logical indeed Rgds Denis Link to comment Share on other sites More sharing options...
nikoz Posted February 21, 2018 Share Posted February 21, 2018 [SOLVED] I hade the same problem. The solution was the same as the others. It was solved by installing the Google analytics module version 1.3 and disabling the module version 2.3.4 . Link to comment Share on other sites More sharing options...
Thiago Posted March 30, 2018 Share Posted March 30, 2018 Hello, I have the same issue here. The other solutions didn't work for me. Someone has a copy of the 1.3 module? The link above doesn't work. Regards. Link to comment Share on other sites More sharing options...
eshizero Posted June 18, 2018 Share Posted June 18, 2018 (edited) install the newest version from https://github.com/PrestaShop/ganalytics if nothing else worked simply add ga('send', 'pageview'); after ga('require', 'ec'); in \apps\prestashop\htdocs\modules\ps_googleanalytics\views\templates\hook\ps_googleanalytics.tpl Result: {literal} <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); {/literal} {if $gaCrossdomainEnabled} ga('create', '{$gaAccountId|escape:'htmlall':'UTF-8'}', 'auto', {literal}{'allowLinker': true}{/literal}); ga('require', 'linker'); ga('linker:autoLink', [ {foreach from=$shops item=shop} {if $shop.id_shop != $currentShopId} {if $useSecureMode}'{$shop.domain_ssl|escape:'htmlall':'UTF-8'}'{else}'{$shop.domain|escape:'htmlall':'UTF-8'}'{/if}, {/if} {/foreach} ]); {else} ga('create', '{$gaAccountId|escape:'htmlall':'UTF-8'}', 'auto'); {/if} {if $userId && !$backOffice} ga('set', 'userId', '{$userId|escape:'htmlall':'UTF-8'}'); {/if} {if $backOffice} ga('set', 'nonInteraction', true); {/if} {literal} ga('require', 'ec'); ga('send', 'pageview'); </script> {/literal} Edited December 5, 2018 by eshizero (see edit history) 1 Link to comment Share on other sites More sharing options...
bazweb Posted August 27, 2018 Share Posted August 27, 2018 (edited) I followed eshizero suggestion but modified another file and works fine! This is the file: ganalytics.php in /modules/ganalytics folder I simply add this line: .((!$back_office) ? 'ga(\'send\', \'pageview\');': '') at line 267 This is the new script <script type="text/javascript"> (window.gaDevIds=window.gaDevIds||[]).push(\'d6YPbH\'); (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\'); ga(\'create\', \''.Tools::safeOutput(Configuration::get('GA_ACCOUNT_ID')).'\', \'auto\'); ga(\'require\', \'ec\');' // 20180827 bugfix for analytcs pageview problem .((!$back_office) ? 'ga(\'send\', \'pageview\');': '') .(($user_id && !$back_office) ? 'ga(\'set\', \'&uid\', \''.$user_id.'\');': '') .($back_office ? 'ga(\'set\', \'nonInteraction\', true);' : '') .'</script>'; Edited August 27, 2018 by bazweb (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2018 Share Posted August 27, 2018 You cannot use version 1.3 of the module any longer. Unfortunately. Link to comment Share on other sites More sharing options...
Lyn&Or Bijoux Posted July 19, 2019 Share Posted July 19, 2019 Quote On CCC (Combine compress cache) > Disable "move javascript to the end" > Make the code working but the became uncorrect... > Disable "Compress inline javascript to HTML" > If disabled it don't modify the code and everything work! Google Tag assistant (chrome extension) became green! This solution worked for me! Thanks a lot Marilyne Link to comment Share on other sites More sharing options...
Cesar Machado Posted August 31, 2019 Share Posted August 31, 2019 On 12/12/2017 at 7:35 AM, tommy45 said: Hi, none of this solutions helped me, but I found answer here: https://www.digitaldot.es/noticias-informaticas/noticias-actualidad/107-fallo-de-instalacion-de-google-analytics-en-prestashop maybe it will help somebody else. Thank You!!!! 1 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