Admin27 Posted January 1, 2017 Share Posted January 1, 2017 I have a question, because I install prestashop 1.7, I have open to the shop, but no I can add google analytics. ¿Why? ¿How add google analytics in prestashop 1.7?Sorry for my English. Link to comment Share on other sites More sharing options...
vekia Posted January 1, 2017 Share Posted January 1, 2017 you can use free html block module and include analytics widget code to your shop. on html box free module configuration page just use "header" or "footer" hook, paste the code of analytics widget there and save changes. Link to comment Share on other sites More sharing options...
Admin27 Posted January 2, 2017 Author Share Posted January 2, 2017 you can use free html block module and include analytics widget code to your shop. on html box free module configuration page just use "header" or "footer" hook, paste the code of analytics widget there and save changes. Hi Vekia, I solved the problem, the module google analytics prestashop 1.6 is compatible with prestashop 1.7. I proved and working correctly. Link to comment Share on other sites More sharing options...
vekia Posted January 2, 2017 Share Posted January 2, 2017 wow, great the weirdest thing is fact that it is not available in back office by default Link to comment Share on other sites More sharing options...
Surffari Posted February 4, 2020 Share Posted February 4, 2020 Old thread, but relevant I suppose. I have just started to understand the hooks & modules. I have noticed Google Analytics module is transpanted in quite a few hooks. As mentioned above, it can be out into header or footer. If I remove the GA module from other hooks than displayFooter, will it still worl as expected? Or does the module do different things on different pages depending on the hook? For which reason it needs to be in several hooks? Also, it is in some back office hooks too, but Ican't understand what for? 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