Move vercel analytics from head to body

This commit is contained in:
Dongfang Zhao
2023-05-13 21:21:00 -07:00
parent 1238c0e510
commit 5659bf3877
2 changed files with 2 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
import BLOG from '@/blog.config'
import { Analytics } from '@vercel/analytics/react'
/**
* 第三方代码 统计脚本
@@ -8,8 +7,6 @@ import { Analytics } from '@vercel/analytics/react'
*/
const CommonScript = () => {
return (<>
{BLOG.ANALYTICS_VERCEL && <Analytics />}
{BLOG.COMMENT_DAO_VOICE_ID && (<>
{/* DaoVoice 反馈 */}
<script async dangerouslySetInnerHTML={{