https://
The https:// in the address bar means your information is encrypted and can not be accessed by anyone else
.gov
Only government entities in the U.S. can end in .gov

Analytics

The City of Philadelphia is undertaking a Unified Web Analytics Strategy. Every phila.gov page should contain the following tracking code to allow us to report on traffic, usage, clicks, and to collect other useful data about phila.gov websites.

<!-- Google Tag Manager [phila.gov]  -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MC6CR2');</script>
<!-- End Google Tag Manager [phila.gov] -->
<!-- Google Tag Manager no script [phila.gov] -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MC6CR2"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager no script [phila.gov] -->

Implementation

  1. Add the first snippet immediately after the opening <head> on your site, on every page.
  2. Add the second no-script snippet immediately after the opening <body> tag, on every page.
  3. After you add these snippets to every page you want tracked, email websupport@phila.gov with the URL of the website for testing. You will receive confirmation that the site that should be tracked and the code is working.