This updates the Google Analytics snippet to match what we do on 18f.gsa.gov. IPs are anonymized, and the forceSSL flag is triggered so that even if the page were somehow loaded over HTTP, the analytics requests still get fired over HTTPS.
This also adds the DAP reporting snippet, which means that the site will report to the government's Digital Analytics Program. This is an OMB requirement, and an all-around good thing.
Let's actually merge this into master. gh-pages is the branch for demoing new features and there's a bunch of stuff on there I'm not ready to push up yet.
This updates the Google Analytics snippet to match what we do on
18f.gsa.gov
. IPs are anonymized, and theforceSSL
flag is triggered so that even if the page were somehow loaded over HTTP, the analytics requests still get fired over HTTPS.This also adds the DAP reporting snippet, which means that the site will report to the government's Digital Analytics Program. This is an OMB requirement, and an all-around good thing.