Skip to content

Commit

Permalink
chore(analytics): add plausible
Browse files Browse the repository at this point in the history
  • Loading branch information
nadilas committed Mar 18, 2022
1 parent ac487e2 commit 70e594f
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 10 deletions.
1 change: 1 addition & 0 deletions apps/ogre-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@dotinc/ogre": "^0.3.0",
"@dotinc/ogre-react": "^0.3.0",
"next": "12.1.0",
"next-plausible": "^3.1.6",
"next-transpile-modules": "^9.0.0",
"polished": "^4.1.4",
"react": "17.0.2",
Expand Down
7 changes: 6 additions & 1 deletion apps/ogre-demo/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import '../styles/globals.css'
import type { AppProps } from 'next/app'
import PlausibleProvider from 'next-plausible'

function MyApp({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />
return (
<PlausibleProvider domain="ogre.dot.industries">
<Component {...pageProps} />
</PlausibleProvider>
)
}

export default MyApp
39 changes: 30 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 70e594f

@vercel
Copy link

@vercel vercel bot commented on 70e594f Mar 18, 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.