Skip to content

Commit

Permalink
add privacy focused simple analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
KMKoushik committed Sep 4, 2024
1 parent 26e5037 commit f119e13
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,19 @@ export default function Home() {
<title>SplitPro: Split Expenses with your friends for free</title>
<meta name="description" content="SplitPro: Split Expenses with your friends for free" />
<link rel="icon" href="/favicon.ico" />
{env.NEXT_PUBLIC_BEAM_ID ? (
<script
src="https://beamanalytics.b-cdn.net/beam.min.js"
data-token={env.NEXT_PUBLIC_BEAM_ID}
async
></script>
) : null}
{process.env.NODE_ENV === 'production' && (
<>
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src="https://queue.simpleanalyticscdn.com/noscript.gif"
alt=""
referrerPolicy="no-referrer-when-downgrade"
/>
</noscript>
</>
)}
</Head>
<main className="min-h-screen">
<nav className="sticky mx-auto flex max-w-5xl items-center justify-between px-4 py-4 lg:px-0 lg:py-5">
Expand Down

0 comments on commit f119e13

Please sign in to comment.