Google Analytics – Statewide Analytics Code Setup

Here are the steps on how to setup the Google Analytics statewide code on your website.

(A) If you are using the state template you do not need to install the statewide analytics code as it’s already part of the state template.  So no action is required on your part.

(B) If you are using your own custom template, simple copy and paste the following piece of code into the <HEAD> section of every page on your site.

<!– Global site tag (gtag.js) – Google Analytics –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=UA-3419582-2″></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());

gtag(‘config’, ‘UA-3419582-2’);
</script>