Skip to content

Commit

Permalink
Add plausible web tracker (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranbt authored Mar 3, 2022
1 parent 1761cf9 commit 1621d9f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion website/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ import Prism from 'prism-react-renderer/prism'
(typeof global !== "undefined" ? global : window).Prism = Prism
require("prismjs/components/prism-go")

import Head from 'next/head';

export default function Nextra({ Component, pageProps }) {
return <Component {...pageProps} />
return (
<>
<Head>
<script defer data-domain="ethgo.dev" src="https://plausible.io/js/plausible.js"></script>
</Head>
<Component {...pageProps} />
</>
)
}

1 comment on commit 1621d9f

@vercel
Copy link

@vercel vercel bot commented on 1621d9f Mar 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.