Skip to content

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

Answered by shaonianche
cigar asked this question in Q&A
Discussion options

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

Comment options

You must be logged in to vote
1 reply
@shaonianche
Comment options

Comment options

You must be logged in to vote
4 replies
@cigar
Comment options

@yihong0618
Comment options

@cigar
Comment options

@CerealAxis
Comment options

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