Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

HTTPS issue

This discussion is related to the Google Analytics addon.

Your code won't work over https due to:
ga.src = 'http://www.google-analytics.com/ga.js';

Please change this to:
ga.src = '//www.google-analytics.com/ga.js';
or
ga.src = 'https://www.google-analytics.com/ga.js';

Comments

  • Yes, I faced with same issue. I changed http to https in plugin.

  • edited March 2018

    I replaced

    ga.src = 'https://www.google-analytics.com/ga.js';

    with

    ga.src = (document.location.protocol == "https:" ? "https:" : "http:") + "//www.google-analytics.com/ga.js";

    Maybe will anyone update plugin?

Sign In or Register to comment.