Google Analytics with HTTP Content Security Policy Header
I am trying to setup HTTP security headers since a couple of days ago.
HTTP Security Headers for WordPress
Today, I was trying to setup the Content Security Policy for this blog.
- Extra code of the emoji
- Google analytics code
- JetPack stats
Removes Extra Code for Emoji
There is a plugin developed by Ryan Hellyer.
Google Analytics Code
If you activate this plugin, it outputs the Google Analytics code under the following URL.
It is on beta testing for now, but it looks working fine.
OK, all inline scripts could be deleted. 🙂