这是indexloc提供的服务,不要输入任何密码
Skip to content

Add Audience Analytics to turbo.build site #2387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 26, 2022

Conversation

mehulkar
Copy link
Contributor

@mehulkar mehulkar commented Oct 26, 2022

@vercel
Copy link

vercel bot commented Oct 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
examples-basic-web 🔄 Building (Inspect) Oct 26, 2022 at 10:39PM (UTC)
examples-native-web 🔄 Building (Inspect) Oct 26, 2022 at 10:39PM (UTC)
4 Ignored Deployments
Name Status Preview Comments Updated
examples-designsystem-docs ⬜️ Ignored (Inspect) Oct 26, 2022 at 10:39PM (UTC)
examples-kitchensink-blog ⬜️ Ignored (Inspect) Oct 26, 2022 at 10:39PM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Oct 26, 2022 at 10:39PM (UTC)
turbo-site ⬜️ Ignored (Inspect) Visit Preview Oct 26, 2022 at 10:39PM (UTC)

@@ -40,6 +41,7 @@ export default function Nextra({ Component, pageProps }: NextraAppProps) {
</svg>
</>
<Component {...pageProps} />
<Analytics />
Copy link
Contributor Author

@mehulkar mehulkar Oct 26, 2022

Choose a reason for hiding this comment

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

this only seems to inject the /va/script.js only on the iclient side. Not sure how to make it render in SSR or if we need to. @shuding would this be a Nextra thing?

@jaredpalmer jaredpalmer merged commit 071431d into main Oct 26, 2022
@jaredpalmer jaredpalmer deleted the mehulkar/turbo-401-turn-on-audience-analytics-for branch October 26, 2022 22:39
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