Re-added analytics. Do not include script if localhost().
Updated to use dynamic instead of fixed code.

Use placeholder %GOOGLE_ANALYTICS_CODE% and document.baseURI
instead of the given analytics code and site.

Will be using preg_replace() on %GOOGLE_ANALYTICS_CODE%
Do not just eval on script in bootstrap.

Instead, check if has a src, and only eval if not.
Load analytics script if ! localhost() and $head has google_anayltics_code

Use inline with nonce, using preg_replace() to swap %GOOGLE_ANALYTICS_
CODE% with $head->google_analytics_code.

CSP is currently blocking, as ga uses eval() like code.

Need to find an alternative.