基于 Vecel 部署后如何启用 Vecel 下的 analytics 中 Audience的能力 #359
-
我看到Vecel的部署确实比github数据更全面,我也看到了Vecel官方给出了赋能 Analytics 需要添加包的引导,那么我的问题是如果要加一段js,那么我要把这个JS加在项目中哪个主文件呢?谢谢
|
Beta Was this translation helpful? Give feedback.
Answered by
shaonianche
Jan 11, 2023
Replies: 2 comments 5 replies
-
我不太知道,我感觉 vercel 文档应该有。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
添加这两个npm包:gatsby-plugin-vercel、@vercel/analytics,然后参照我的这两个提交修改一下代码就可以了。 shaonianche/running-data-sync@d0ae6c6 、shaonianche/running-data-sync@5cce933 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
yihong0618
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
添加这两个npm包:gatsby-plugin-vercel、@vercel/analytics,然后参照我的这两个提交修改一下代码就可以了。 shaonianche/running-data-sync@d0ae6c6 、shaonianche/running-data-sync@5cce933