Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Add Plausible Analytics (#516)
Browse files Browse the repository at this point in the history
* add plausible analytics

* edit location for older version of next
  • Loading branch information
bretthayes authored Oct 14, 2022
1 parent a70ad4d commit 26137a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ const AppWrapper: FunctionComponent<Props> = ({ children }) => {
const App: FunctionComponent<AppProps> = ({ Component, pageProps }) => (
<>
<AppWrapper>
<Script
defer={true}
data-domain="learn.sourcegraph.com"
src="https://plausible.io/js/plausible.js"
strategy="lazyOnload"
/>
<GoogleTagManagerScriptTag />
<Script id='Swiftype' strategy='lazyOnload'>
{`
Expand Down

0 comments on commit 26137a3

Please sign in to comment.