Skip to content

Commit 1fa236d

Browse files
authored
Add tracking code
1 parent acef60d commit 1fa236d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app.html

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css">
88
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
99
<title>Web stubs</title>
10+
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"adimoldovan",utcoffset:"3"}))};sessionStorage.setItem("_swa","1");</script>
1011
%svelte.head%
1112
</head>
1213
<body>

0 commit comments

Comments
 (0)