Skip to content

Commit

Permalink
📈 Hotjar install (#2390)
Browse files Browse the repository at this point in the history
* adding a new template for docs changes

* fixing null value error

* added hotjar function
  • Loading branch information
isaaclombardssw authored Oct 31, 2024
1 parent 5277bcb commit 91efe41
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/docs-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ title: "📝 "
<!-- **Tip:** Delete parts that are not relevant -->

### 💫 Describe the Issue With the Current Docs
<!-- A clear and concise description of what the current limitation(s) of the docs is -->
<!-- A clear and concise description of the current limitation(s) of the docs is -->

### 📝 Outline the Proposed Change
<!-- Please provide an ordered summary on what should be changed -->
<!-- Please provide an ordered summary on what should be changes -->
1. On page '...', ... is wrong/is unclear.

### 💼 Tasks
Expand All @@ -22,7 +22,7 @@ title: "📝 "
<!-- Add any other context here, this section is useful for adding context for other users to understand and refine the suggestion -->

### 📸 Screenshots
<!-- If applicable, add screenshots that are relevant to the proposal -->
<!-- If applicable, add screenshots that are relevant to the feature or proposal -->

<!-- Below the Cc, @ mention users who should be in the loop -->
Cc:
24 changes: 16 additions & 8 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import React, { useEffect } from 'react'
import App from 'next/app'
import Head from 'next/head'
import { DefaultSeo } from 'next-seo'
import data from '../content/siteConfig.json'
import { GlobalStyle } from 'components/styles/GlobalStyle'
import 'components/styles/fontImports.css'
import Cookies from 'js-cookie'
import { DefaultSeo } from 'next-seo'
import App from 'next/app'
import Head from 'next/head'
import path from 'path'
import '../styles/tailwind.css'
import React, { useEffect } from 'react'
import { useEditState } from 'tinacms/dist/react'
import { CloudBanner } from '../components/layout/CloudBanner'
import ChatBaseBot from '../components/ui/TinaChatBot'
import ConsentBanner from '../components/ui/ConsentBanner'
import Cookies from 'js-cookie'
import ChatBaseBot from '../components/ui/TinaChatBot'
import data from '../content/siteConfig.json'
import '../styles/tailwind.css'

path.resolve('./content/')

Expand All @@ -21,6 +21,14 @@ const MainLayout = ({ Component, pageProps }) => {
if (consentGiven) {
const consentState = JSON.parse(consentGiven)
}
(function(h:any,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:5190939,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
}, [])

return (
Expand Down

0 comments on commit 91efe41

Please sign in to comment.