Skip to content

Commit

Permalink
Added hotjar ;
Browse files Browse the repository at this point in the history
  • Loading branch information
Fahimansari committed Mar 4, 2024
1 parent 15be0c3 commit cce5c26
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
4 changes: 4 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,15 @@ const config = {
},
],
'docusaurus-plugin-sass',
'docusaurus-plugin-hotjar',
require.resolve('docusaurus-plugin-image-zoom'),
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
{
hotjar:{
applicationId: 3890572,
},
// image: 'img/logo/cypress-logo-circle-dark.png',
navbar: {
style: 'dark',
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"@fortawesome/free-brands-svg-icons": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.1",
"@fortawesome/react-fontawesome": "^0.1.18",
"@hotjar/browser": "^1.0.9",
"@mdx-js/react": "^1.6.22",
"autoprefixer": "^10.4.7",
"clsx": "^1.1.1",
"docusaurus-plugin-hotjar": "^0.0.2",
"docusaurus-plugin-image-zoom": "^0.1.1",
"docusaurus-plugin-sass": "^0.2.2",
"postcss": "^8.4.14",
Expand Down
6 changes: 0 additions & 6 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { Redirect } from '@docusaurus/router';
import React from 'react';

import Hotjar from '@hotjar/browser';

const siteId = 3890572;
const hotjarVersion = 6;

Hotjar.init(siteId, hotjarVersion);

export default function Home() {
return <Redirect to="/overview/why-cashflowy" />
Expand Down

0 comments on commit cce5c26

Please sign in to comment.