Skip to content

Script doesn't load under HTTPS (mixed-mode content) #79

@FineWolf

Description

@FineWolf

When loading Google Analytics, your script is failing due to the fact that you are importing GA always under http. If you load the profiler under HTTPS, the whole profiler will fail due to the inclusion of GA with http.

Simply load GA using a scheme-less URL

dom.createDom('script', {'src': '//www.google-analytics.com/ga.js', 'type': 'text/javascript'});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions