Skip to content

Commit

Permalink
Merge pull request #240 from euanwm/feature/smartlook_anal
Browse files Browse the repository at this point in the history
Smartlook trial
  • Loading branch information
euanwm authored Sep 24, 2023
2 parents f5ab1fb + fbbb364 commit c9509dc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions frontend/package-lock.json

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

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"react-hotjar": "^5.5.0",
"react-icons": "^4.10.1",
"sharp": "^0.32.5",
"smartlook-client": "^8.2.0",
"typescript": "^5.1.6"
},
"devDependencies": {
Expand Down
7 changes: 3 additions & 4 deletions frontend/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ import { NextUIProvider } from "@nextui-org/react";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { fontSans, fontMono } from "@/config/fonts";
import type { AppProps } from "next/app";
import Smartlook from 'smartlook-client'
import { useEffect } from "react";
import { hotjar } from "react-hotjar";

export default function App({ Component, pageProps }: AppProps) {
useEffect(() => {
hotjar.initialize(3147762, 6);
}, [])

Smartlook.init('0cb3d115dd38c136548da8cbdae1e29785f896ac')
}, []);
return (
<NextUIProvider>
<NextThemesProvider attribute="class" defaultTheme="dark">
Expand Down
1 change: 0 additions & 1 deletion frontend/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Html, Head, Main, NextScript } from 'next/document'
import HeaderBar from "@/layouts/head";

export default function Document() {
return (
Expand Down

0 comments on commit c9509dc

Please sign in to comment.