SSL in Chrome browser show GA script is "insecure"

I installed Multisite Analytics for wp1euro.com

And after that I bought a SSL ceritifcate for this domain also, and Chrome show the red cross onto this domain, and when I checked in Javascript console, it show this:

The page at https://wp1euro.com/ ran insecure content from http://wp1euro.com/wp-content/plugins/google-analytics-async/ga-async.css?ver=3.4.1.

When I deactive Multisite Analytics plugin, it gone.

How can I do it? I sell service and I do not my customer get any doubt on me.

Thanks.

  • James Dunn
    • The Crimson Coder

    Goodday @sangdth.

    I just checked your domain in Firefox, Chrome, and Explorer. All three did NOT give any type of error. In fact, in Chrome I got the Green Lock as I expected.

    Are you still experiencing this issue? Or have you gotten it sorted?

    Looking forward to your response.

    James Dunn
    Athens, GA USA

  • James Dunn
    • The Crimson Coder

    O.K. forgive me for stating the obvious here, but if you notice even though your website is running on the https:// (SSL), the reference to the Google Analytics plugin in the error it throws is NOT an https:// - it's an http:// URL reference.

    Is that reference something that is in the plugin? If so, can you go into the editor and change it? Or is that something that we should ask the developer on the plugin to do? I don't know for certain if this plugin is developed for an SSL application, but I would have thought it would have been no problem.

    James Dunn
    Athens, GA USA

  • James Dunn
    • The Crimson Coder

    Goodday again @sangdth

    O.K. with a little research, I was able to unearth this thread regarding this very issue:

    https://premium.wpmudev.org/forums/topic/multisite-google-analytics-plugin

    If you will notice the information given is:

    please change this line:

    wp_register_style( 'GoogleAnalyticsAsyncStyle', $this->plugin_url . 'ga-async.css' );

    to:
    wp_register_style( 'GoogleAnalyticsAsyncStyle', plugins_url('ga-async.css', __FILE__ ));

    so that the plugin respects SSL!!

    Hope this helps you. I'm assuming that you can change that code yourself and hopefully the developer on the plugin is making that change in a future update. BTW, you are using the latest version aren't you?

    James Dunn
    Athens, GA USA

  • James Dunn
    • The Crimson Coder

    Thanks for the update @sangdth - glad you got it sorted.

    Goodday @KimberlyL.

    Can you let the developer know about this. The thread I referenced above was handled by Joe (@aecnu) so I know that he's been told about this once at least. I think it's probably a rare occurrence but it's something that may keep coming back every time someone decides to use Multisite Analytics on an SSL domain. He could either make that as a small change to the existing plugin OR put it in the documentation for the plugin so this question pops up less. Of course, someone like me will probably NOT read the documentation and still ask the question. :wink: But that's to be expected.

    Have a great day!!

    JDD

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.