RichardJamesLopez / app-nesting

https://app-nesting.vercel.app
4 stars 2 forks source link

Add analytics #39

Open nmwur opened 1 week ago

RichardJamesLopez commented 1 week ago

Takeaway:

RichardJamesLopez commented 3 days ago

Enabled Web Analytics services on our Vercel package.

@nmwur - can you add the following 3 steps to the stage env before we push?

  1. Install package npm i @vercel/analytics
  2. Import and use the React component into your app's layout. import { Analytics } from "@vercel/analytics/react"
  3. Deploy changes and visit the deployment to collect page views.

If we don't see data after 30 seconds, please check for content blockers and try to navigate between pages on site. Here is the additional documentation.

nmwur commented 2 days ago

added those three steps, and the data is now showing in the stage environment. it should also work in production after a PR this week