Jump to content

Google Analytics Vs "prestashop Move JavaScript to the end"


Recommended Posts

Hello,

 

I have a problem, I need to enable "prestashop Move JavaScript to the end" but this setting have an issue with google analytics because the script have to be place before </head> tag.

 

have someone a solution?

 

Matteo

Link to comment
Share on other sites

yes, I'm using the last version of this module.

 

I see in this page  in official google website support "Paste it immediately before the closing </head> tag"

 

but if I enable the "Move JavaScript to the end" setting this script have placed after the closing head tag.

Link to comment
Share on other sites

I and many run with module and 'all'  javascript to bottom without issue.  the tutorial is for manual installation.

 

Are you having any issue with analtyics?  Can you see your visit when using 'real time'  option of Google Analyitics?

Link to comment
Share on other sites

yes, I have some problem because the stats are wrong.

 

maybe if the users leave the page before the javascript analytics is loaded, the data are wrong.

 

e.g. I have a bounce rate of 20% then, after I set javascript on the bottom I have bounce rate of 1%.

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...
×
×
  • Create New...