add analytics

This commit is contained in:
nc 2023-05-23 09:48:00 +07:00
parent 31761f73ea
commit 06d80718f2
3 changed files with 13 additions and 9 deletions

View File

@ -160,8 +160,11 @@ const Comment = ({post_id}) => {
</Base>
```
i put ```Math.random()``` as post_id to make gatsby load the script again everytime you visit the page
i put ```Math.random()``` as post_id to make gatsby load the script again
everytime you visit the page
<br />
well that's it for now, later i will add about jenkins and prometheus setup on my scuffed server.
I just want to post this shit man i haven't post anything for 3 decades man, it's hard to be [consistent](https://typesense.org/blog/the-unreasonable-effectiveness-of-just-showing-up-everyday/) man
well that's it for now, later i will add about jenkins and prometheus setup
on my scuffed server.
I just want to post this shit man i haven't post anything for 3 decades man,
it's hard to be [consistent](https://typesense.org/blog/the-unreasonable-effectiveness-of-just-showing-up-everyday/) man

View File

@ -35,6 +35,7 @@ const SEO: FC<seoType> = (props) => {
<meta property="og:type" content="website" />
<meta name="twitter:creator" content={site.siteMetadata.author} />
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"/>
<script async src="http://anal.nochill.in/script.js" data-website-id="33946759-3b3c-4f30-843e-abd8b437efd3"></script>
{props.children}
</>
)

View File

@ -8,13 +8,13 @@ import { MDXProvider } from '@mdx-js/react';
import './styles.scss';
type queryLayoutProps = {
mdx: {
frontmatter: {
title: string,
date: string,
last_update: string
}
mdx: {
frontmatter: {
title: string,
date: string,
last_update: string
}
}
children: any
}