by Tzipi_builds
Hey everyone, I'm currently architecting a platform for local businesses using a Next.js (Web) and Expo (Mobile) Monorepo with Supabase as the backend.
I’ve hit a wall with Profile View Tracking.
The setup:
profile_view, whatsapp_click, etc., into a user_activity table.profile_analytics_daily table for the business dashboard.The problem: On Mobile, it’s smooth - users are mostly authenticated or have a persistent device ID. But on Web, it’s a mess.
localStorage for session_id, but it feels fragile.My questions for the experts here:
session_id for anonymous SEO traffic that doesn't rely on flaky client-side storage?Would love to hear how you handled the 'Web vs App' data sync in your startups!
The user is facing challenges with tracking profile views on a platform using Next.js for web and Expo for mobile, with Supabase as the backend. While mobile tracking works smoothly due to authenticated users, web tracking is problematic due to anonymous traffic and potential ad-blocker interference. The user seeks advice on improving session management and ensuring data parity between web and mobile analytics.