Skip to content

Update layout.tsx - #133

Open
lecarray wants to merge 1 commit into
astriaai:mainfrom
lecarray:patch-7
Open

Update layout.tsx#133
lecarray wants to merge 1 commit into
astriaai:mainfrom
lecarray:patch-7

Conversation

@lecarray

@lecarray lecarray commented Apr 3, 2025

Copy link
Copy Markdown

添加Google Analytics跟踪代码

Comment thread app/layout.tsx
<html lang="en" suppressHydrationWarning>
<head>
{/* 直接在head中添加Google Analytics代码 */}
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MYTMHRN5ME"></script>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you make this an environment variable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants