RSSAmplifier

Jon Kuperman · Nov 27, 2021

A Content Security Policy for Google Analytics

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

So you want to add Google Analytics to a website that has a Content Security Policy ? Well you are in for a treat! The problem is that having a good CSP locks your site down. That means scripts, CSS, fonts, etc cannot connect to outside sources unless they are specified as ok by your CSP. In short, you can grab the CSP below if you'd like to just move right along. It should allow everything you…

Read on jonkuperman.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.