• Resolved Enzo

    (@enzorabante)


    Hi,

    I tried to use GTAG.JS but my site shows mixed content because ANALYTICS.JS is loaded over http instead of https

    Can you fix it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Enzo

    (@enzorabante)

    I found the issue

    On GTAG.JS when the update cron run, the url to link ANALYTICS.JS is pointing to http://

    If I change that is working.

    The update cron should be fixed to write the right https if the site is running with SSL

    Please fix it

    Thanks

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi @enzorabante,

    Check the Site Address (URL) you defined in Settings > General. CAOS uses the content_url() function to rewrite the gtag.js-file. The content_url() uses the Site URL you defined in your settings.

    Please let me know if it helps 🙂

    Thread Starter Enzo

    (@enzorabante)

    Hi,

    that was first setting I checked and I confirm that there I already have https://

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    That’s very strange. I’ll do some further testing to see if I can reproduce this issue.

    I’ll get back to you!

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi Enzo,

    I’ve tried to reproduce this issue, but simply put; I can’t. When I use gtag.js on sites using https, the URL for analytics.js is rewritten perfectly to https as well.

    Could you share a screenshot of your settings? I might be able to replicate the issue like that.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Mixed content using gtag.js’ is closed to new replies.