Analytics Dashboard
Google Analytics and traffic overview
Google Analytics Integration
Your site tracks with Google Analytics 4 (G-VWWWR77Y54) and Google Tag Manager (GTM-PPMFRBBN). The dashboard below pulls data via the Cloud Function and GA4 Data API.
⚠ API not configured
To show real data here:
- Enable the Google Analytics Data API in your Google Cloud project.
- In GA4: Admin → Property Access Management → Add both service accounts with role Viewer:
566535855017-compute@developer.gserviceaccount.comandfluffy-paws-a90b3@appspot.gserviceaccount.com(2nd gen functions use the first). - Get your GA4 Property ID (numeric) from GA4 Admin → Property Settings.
- Set the secret:
firebase functions:secrets:set GA4_PROPERTY_IDand enter that Property ID when prompted. - Redeploy functions:
firebase deploy --only functions, then refresh this page.
Still getting "GA4 access denied"?
Access must be granted at the property level, and for the same property whose ID is in GA4_PROPERTY_ID.
- In GA4, go to Admin (gear icon, bottom left). You’ll see two columns: Account and Property.
- Use the Property column (right column). Click Property access management there (not “Account access management” on the left).
- Confirm you’re in the correct property: open Property Settings and check the Property ID (e.g. 524098604). It must match the value you set in Firebase for
GA4_PROPERTY_ID. - In Property access management, click + Add users. Add both (one at a time):
566535855017-compute@developer.gserviceaccount.comandfluffy-paws-a90b3@appspot.gserviceaccount.com, role Viewer each. - Wait 2–5 minutes and refresh this dashboard. If it still fails, remove the user and add them again, then wait and retry.
You can also open GA and GTM directly:
Real-Time Overview
Active Users Now
–
Live count
Users Last 30 Min
–
Past 30 minutes
Active Pages
–
Pages being viewed
Events (30 min)
–
Recent activity
Active Pages Right Now
Loading active pages…
Traffic Sources (Real-Time)
Loading traffic sources…
Active Users by Country
Loading countries…
Quick Stats (Today)
Total Visitors
–
Page Views
–
Avg. Session Duration
–
Active tracking
Bounce Rate
–
Lower is better
Events
Loading events…
Top Pages
Loading top pages…
Traffic Sources
Loading traffic sources…
Top 5 Countries by Events
Loading country events data…