📊 Analytics Dashboard
Track website performance with Google Analytics and Search Console integration.
Sessions
2,547
User Sessions
Pageviews
8,234
Total Pageviews
Avg. Session Duration
2m 45s
Per Session
Bounce Rate
42.3%
Users who left
🔧 Integration Status
Google Analytics
Demo Mode - Placeholder Data
Ready for real GA4 integration via Measurement ID
Google Search Console
Demo Mode - Placeholder Data
Ready for real GSC integration via Site URL
⚙️ Configure Analytics Integration
Set up Google Analytics 4 (GA4) and Google Search Console to track real performance data. Both integrations use OAuth 2.0 authentication.
🚀 How to Set Up Real Google Analytics Integration
Follow these steps to connect real GA4 and Search Console data:
Step 1: Create/Select Google Cloud Project
- Go to
Google Cloud Console(console.cloud.google.com) - Create a new project or select an existing one
- Enable billing for your project
Step 2: Enable Required APIs
- Enable
Google Analytics Admin API - Enable
Google Search Console API - Enable
Google Analytics Reporting API
Step 3: Create Service Account Credentials
- Go to
APIs & Services > Credentials - Click
Create Credentials > Service Account - Fill in the service account details
- Click
Create and Continue - Grant the service account access (Editor role)
- Go to
Keystab and create a JSON key - Download the JSON file and rename it to
credentials.json - Place it in the project root directory
Step 4: Get Your GA4 Measurement ID
- Go to
Google Analytics > Admin > Property Settings - Copy your Measurement ID (starts with
G-) - Enter it in the configuration form above
Step 5: Set Up Search Console Access
- Share your property with the service account email
- The service account email is in your
credentials.jsonfile - You'll find it under
"client_email"
✅ Once configured, the dashboard will display real GA4 and Search Console data!
📈 Available Metrics
- Sessions: Total number of user sessions in the selected period
- Pageviews: Total number of pages viewed across all sessions
- Users: Number of unique users who visited your site
- Bounce Rate: Percentage of sessions that ended without interaction
- Avg. Session Duration: Average time users spent on your site
- Conversion Rate: Percentage of sessions that completed a goal
- Top Pages: Pages with the most traffic
- Traffic Sources: Where your traffic comes from (organic, direct, referral, etc.)