Skip to content

Commit

Permalink
Track browser language for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bendiksolheim committed Oct 19, 2023
1 parent b81d731 commit 3b5a243
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="{{ get_url(path="tufte-dark.css") }}">
<script defer data-domain="bendik.dev" src="https://plausible.io/js/script.js"></script>
<script defer data-domain="bendik.dev" src="https://plausible.io/js/script.pageview-props.js"></script>
<script>
plausible('pageview', { props: { language: navigator.language } })
</script>
</head>
<body>
<article>
Expand Down

0 comments on commit 3b5a243

Please sign in to comment.