MetricsHub Connection

Connect this browser to your Cloudflare Worker backend API.

The URL where your Cloudflare Worker was deployed.
Migration Detected!

We found existing settings and websites saved in this browser's local storage. Check the box below to migrate your credentials and websites directly into your D1 database automatically!

Only this Google account will be permitted to access and unlock the dashboard.

Welcome to MetricsHub

Sign in using your authorized Google account to view analytics and earnings.

Production Cloudflare D1 Backend Verified
MetricsHub
Dashboard Websites Settings Logs About
Authenticated as: username@gmail.com
MetricsHub
Dashboard Websites Settings Logs About
username@gmail.com

Dashboard Overview

Auto: 60s
Checking...
Today's Earnings
$0.00
Never
Active Users
0
Realtime Live
Page Views
0
Today aggregated
Impressions
0
Today aggregated
Clicks
0
Today aggregated
Avg Page CTR
0.00%
Today averaged

No Websites Added

Analytics configured successfully! Now add some websites to start tracking their live traffic and monetization.

Filter:
Website Status Active Users Today Earnings Page Views Impressions Clicks Page CTR Page RPM Last Updated

Managed Websites

Configure your website specific reporting metrics keys (stored securely on D1).

Website Domain GA4 Property ID AdSense Publisher ID AdSense Refresh Token Actions

No websites configured. Click "Add Website" to get started.

Global Integration Settings

Configure key Google API configurations (saved on Cloudflare D1).

Cloudflare D1 Storage Mode: All keys and secrets are stored in your private remote Cloudflare D1 database. Sensitive tokens are encrypted using AES-GCM prior to being saved in the database tables.
The specific Google account allowed to log in and unlock this dashboard.
Single refresh token to query GA4 properties across all websites.

API Logs

View execution logs of the Google API fetches.

Timestamp Event Type Website Status Message / Response Details

Logs list is empty.

About & Setup Instructions

D1 Database + Authentication Dashboard

MetricsHub is a secure, stateful multi-website dashboard. Configured credentials and website configurations are stored in a Cloudflare D1 SQL database in your own Cloudflare account. Google Sign-in is enforced via Google OAuth, securing the dashboard so only your specified email address can log in.

Google Cloud Console Configuration Checklist

1
OAuth Consent Screen Test Users

Ensure the Google email of your AdSense account is added as a Test User under Google Console OAuth Consent Screen settings if your project is in Testing status.

2
Authorized Redirect URIs

Ensure https://developers.google.com/oauthplayground and https://ga4-adsense-dashboard-sathis.pages.dev are added to your client ID's Authorized Redirect URIs.

Add Website

Leave blank to keep existing encrypted token.