Skip to content

Commit

Permalink
Add button to test custom events
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Veld committed May 8, 2023
1 parent 0811a56 commit 7844707
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/_app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ export default function App({ Component, pageProps }) {
<meta name="description" content={pageProps.description} />
</Head>
{router.pathname === '/' ? (
<>
<Index></Index>
<div onClick={() => {
Fathom.trackGoal('WQM0QGYV', 1)
console.log('clicked')
}}>hi</div>
</>
) : (
<MDXProvider components={mdxComponents}>
<Docs {...pageProps}>
Expand Down

0 comments on commit 7844707

Please sign in to comment.