Skip to content

Commit

Permalink
📈 add matomo
Browse files Browse the repository at this point in the history
  • Loading branch information
krmax44 committed Jan 23, 2025
1 parent 02c4b67 commit ac9f1c2
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,28 @@ interface Props {
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<!-- <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> -->
<title>Real-O-Mat</title>

<script>
// @ts-nocheck
var _paq = (window._paq = window._paq || [])
_paq.push(['disableCookies'])
_paq.push(['trackPageView'])
_paq.push(['enableLinkTracking'])
;(function () {
var u = 'https://traffic.okfn.de/'
_paq.push(['setTrackerUrl', u + 'matomo.php'])
_paq.push(['setSiteId', '58'])
var d = document,
g = d.createElement('script'),
s = d.getElementsByTagName('script')[0]
g.async = true
g.src = u + 'matomo.js'
s.parentNode.insertBefore(g, s)
})()
</script>
</head>

<body class="bg-purple-50">
<GradientBackground class="flex flex-col flex-1 pb-12" client:load />

Expand Down

0 comments on commit ac9f1c2

Please sign in to comment.