Jump to content

BUG FIX for SSL warning caused by google analytics

Recommended Posts

Hi all,

If you have annoying SSL warnings on your website, they are probably caused by Google Analytics v1.2. Since the code of google has been updated to support SSL, I though it was worth a shot to update the code of the module. So here it is, just replace the existing .php file with the one attached (and do a backup of the original in case something goes wrong of course ;-)

Please do not rely on my fix untill the prestashop team approves this modif and officially integrates it into prestashop.

Please note that the fix came straight from Google (see http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55483), I've only adapted the code from the module.

Just in case I've also opened a bug tracker for this issue:

Hope it helps



Share this post

Link to post
Share on other sites

You're welcome ... I'm pretty new to Prestashop and really love it. What I particularly like also is the strong community behind it, so when I get a chance to bring my 2 cents, I'm glad to do so.

FYI, the Prestashop team apparently has integrated the fix in the SVN version. I guess this means it should be part of the next release.


Share this post

Link to post
Share on other sites

You actually saved me a lot of email trying to resolve this problem with EUKhost guys. It is a bit weird firebug does not tell you if there is any request from "http"....

Thanks a million!

Share this post

Link to post
Share on other sites

Hi everybody!

I have updated the ganalytics php but it is still not working for me. Security warnings keep on coming out when ssl is enabled.
Do I need to modify anything on the ganalytics.php or just upload it to the site?

Thank you for your help

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now