Skip to content

基于 Vecel 部署后如何启用 Vecel 下的 analytics 中 Audience的能力 #359

Answered by shaonianche
cigar asked this question in Q&A

You must be logged in to vote

那么我要把这个JS加在项目中哪个主文件呢?谢谢

添加这两个npm包:gatsby-plugin-vercel、@vercel/analytics,然后参照我的这两个提交修改一下代码就可以了。 shaonianche/running-data-sync@d0ae6c6shaonianche/running-data-sync@5cce933

Replies: 2 comments 5 replies

You must be logged in to vote
1 reply
@shaonianche

You must be logged in to vote
4 replies
@cigar

@yihong0618

@cigar

@CerealAxis

Answer selected by yihong0618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants