Add Vercel Web Analytics to the ulpaso.app marketing site - #18
Open
bigmacfive wants to merge 1 commit into
Open
Conversation
Hook the official @vercel/analytics React component into the Vite landing entry so page views on ulpaso.app can be counted. The Tauri app stays unchanged. Co-authored-by: Minkyu Lee <lee4857@purdue.edu>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
bigmacfive
marked this pull request as ready for review
August 28, 2026 18:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User impact
The public marketing site at ulpaso.app can count page visitors with first-party Vercel Web Analytics. The macOS app is unchanged and still has no telemetry.
This hooks
@vercel/analyticsinto the Vite/React landing entry (website/src/main.jsx). No Google Analytics, PostHog, or other third-party tracker is added.Dashboard step (parent)
The script only reports after Web Analytics is enabled on the Vercel project. In the askitmore team, open the ulpaso project → Analytics and click Enable. That can be flipped from the Vercel connector. Enabling adds the first-party
/_vercel/insights/*routes on the next production deploy.Until that toggle is on, the beacon may load but visitor counts stay empty.
Verification
website:npm ci/npm run build/npm test/npm run test:sitespnpm check— not run (Tauri app untouched)pnpm build— not run (Tauri app untouched).mdround trips. — N/A@vercel/analytics@2.0.1(MIT), website-onlyLocal production build includes the official beacon path
/_vercel/insights/script.jsin the client bundle. After this merges and Analytics is enabled, https://ulpaso.app should inject that first-party script at runtime.