My site domain is https and always has been, but for some reason the gtag.js script is being loaded over insecure http. This is causing mixed content warnings so the script is being blocked, therefore visits are not being tracked. It looks like it hasn’t been working for about a month now.
Here’s the output in the console:
Mixed Content: The page at 'https://example.org.uk/' was loaded over HTTPS, but requested an insecure script 'http://example.org.uk/wp-content/cache/caos-analytics/analytics.js'. This request has been blocked; the content must be served over HTTPS.
- The topic ‘Site is https but script is http, causing mixed content warning’ is closed to new replies.