Remove Cloudflare beacon
This commit is contained in:
parent
feb02eb551
commit
49f5585e62
|
@ -3,8 +3,7 @@ import '../sass/full.scss'
|
|||
import '@fontsource/cousine/400.css'
|
||||
import '@fontsource/cousine/700.css'
|
||||
import GoogleAnalytics from '~/analytics/GoogleAnalytics.astro'
|
||||
import CloudflareAnalytics from '~/analytics/CloudflareAnalytics.astro'
|
||||
import { cloudflareAnalytics, googleAnalytics } from '~/config'
|
||||
import { googleAnalytics } from '~/config'
|
||||
|
||||
export type Props = {
|
||||
title?: string
|
||||
|
@ -29,11 +28,6 @@ const analyticsEnabled = import.meta.env.PROD || true
|
|||
<GoogleAnalytics measurementId={googleAnalytics.measurementId} />
|
||||
) : null
|
||||
}
|
||||
{
|
||||
analyticsEnabled && cloudflareAnalytics.token ? (
|
||||
<CloudflareAnalytics token={cloudflareAnalytics.token} />
|
||||
) : null
|
||||
}
|
||||
<slot name="head" />
|
||||
</head>
|
||||
<body class={props.bodyClass ?? ''}>
|
||||
|
|
|
@ -12,10 +12,6 @@ export const disqus = {
|
|||
host: 'devhints.disqus.com'
|
||||
} as const
|
||||
|
||||
export const cloudflareAnalytics = {
|
||||
token: '93ebff376c05423d8e6c1dfbe406a172'
|
||||
} as const
|
||||
|
||||
export const googleAnalytics = {
|
||||
measurementId: 'G-N7TC6B227L'
|
||||
} as const
|
||||
|
|
Loading…
Reference in New Issue