JMSDebuggingBundle
JMSDebuggingBundle copied to clipboard
Script doesn't load under HTTPS (mixed-mode content)
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'});
this is a bit more complex, because the SSL versions of GA is at https://ssl.google-analytics.com/ga.js
according to their doc
I think we can remove the entire GA code as was discussed in some other thread.
@schmittjoh can you please remove this tracking feature.
We can remove this code, someone just needs to send a PR. I don't have the time unfortunately.
@schmittjoh working on that
done PR #81