Skip to content

Commit

Permalink
Merge pull request #147 from CityOfPhiladelphia/main
Browse files Browse the repository at this point in the history
adds Microsoft Clarity for more analytics
  • Loading branch information
ajrothwell authored Nov 26, 2024
2 parents c82cd27 + d083dec commit 88b9518
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager [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>
<!-- Google Tag Manager -->
<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>
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 -->
<!-- Microsoft Clarity [phila.gov] -->
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "4l8dhsl6kn");
</script>
<!-- End Microsoft Clarity [phila.gov] -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
Expand All @@ -31,11 +39,11 @@

</head>
<body>
<!-- <div class="prevent"></div> -->
<!-- Google Tag Manager (noscript) -->
<noscript>
<strong>We're sorry but immigrant-resource-finder doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
<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 (noscript) -->
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

0 comments on commit 88b9518

Please sign in to comment.