Skip to content

Commit

Permalink
migrate to umami
Browse files Browse the repository at this point in the history
  • Loading branch information
jekrch committed Jan 12, 2025
1 parent c56fbd5 commit f1ecb1d
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,23 @@
<meta name="description" content="An app for ranking your favorite Eurovision Song Contest participants" />

<meta
http-equiv="Content-Security-Policy"
content="
default-src 'self';
script-src 'self' 'unsafe-inline' https://www.googletagmanager.com;
style-src 'self' 'unsafe-inline';
img-src 'self' data: https:;
connect-src 'self' https://www.google-analytics.com;
font-src 'self';
object-src 'none';
media-src 'self';
frame-src 'none';
"
>
http-equiv="Content-Security-Policy"
content="
default-src 'self';
script-src 'self' 'unsafe-inline' https://analytics.jacobkrch.com;
style-src 'self' 'unsafe-inline';
img-src 'self' data: https:;
connect-src 'self' https://analytics.jacobkrch.com;
font-src 'self';
object-src 'none';
media-src 'self';
frame-src 'none';
"
>

<!-- Preconnect to external domains -->
<link rel="preconnect" href="https://www.googletagmanager.com">
<!-- <link rel="preconnect" href="https://www.googletagmanager.com"> -->
<link rel="preconnect" href="https://analytics.jacobkrch.com">

<!-- Preload critical assets -->
<link rel="preload" href="/eurovision-heart.svg" as="image" type="image/svg+xml">
Expand All @@ -37,14 +38,14 @@
<script defer src="https://analytics.jacobkrch.com/script.js" data-website-id="0f4290a3-6a38-4398-b083-fc3cdabe5f13"></script>

<!-- Google tag (gtag.js) -->
<script defer src="https://www.googletagmanager.com/gtag/js?id=G-2EJQ73Z228"></script>
<!-- <script defer src="https://www.googletagmanager.com/gtag/js?id=G-2EJQ73Z228"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-2EJQ73Z228');
</script>
</script> -->

</head>

Expand Down

0 comments on commit f1ecb1d

Please sign in to comment.