Skip to main content

Analytics Dashboard

The Analytics Dashboard provides visual insights into your Google sign-in performance with interactive charts, trend analysis, and data export capabilities.

PRO Feature

The Analytics Dashboard is a PRO feature. Upgrade to PRO to unlock this functionality.

Accessing the Dashboard

  1. Go to Settings > OneTap Login
  2. Click the Statistics tab
  3. View the analytics dashboard

Analytics Dashboard Full

Dashboard Overview

The dashboard displays:

Summary Cards

CardDescription
Total RegistrationsAll-time Google sign-ups
Total LoginsAll-time Google sign-ins
This PeriodActivity in selected period
Growth RatePercentage change

Main Chart

Interactive Chart.js graph showing:

  • Registrations over time
  • Logins over time
  • Trend line

Data Table

Tabular view with:

  • Date
  • Registrations
  • Logins
  • Cumulative totals

Period Selection

Choose the time period to analyze:

Analytics Period Selector

PeriodDescription
Last 7 daysPast week
Last 30 daysPast month
This monthCalendar month
Last quarterPast 90 days
This yearYear to date
CustomSelect date range

Custom Date Range

  1. Select "Custom" from dropdown
  2. Choose start date
  3. Choose end date
  4. Click Apply

Chart Types

Registration Trend

Shows new account creation over time:

Analytics Chart Registrations

Insights:

  • Daily registration volume
  • Growth trends
  • Seasonal patterns
  • Campaign impact

Login Activity

Shows returning user sign-ins:

Insights:

  • User engagement
  • Return rate
  • Active user trends

Combined View

Toggle to see both metrics overlaid:

Insights:

  • Registration vs login ratio
  • User retention indicator
  • Conversion context

Metrics Explained

Total Registrations

Definition: Count of new WordPress accounts created via Google.

When counted:

  • First-time Google sign-in
  • New account created
  • NOT counted for linked accounts

Total Logins

Definition: Count of all Google sign-in events.

When counted:

  • Every successful Google authentication
  • Includes new registrations
  • Includes returning users

Growth Rate

Calculation:

Growth = ((This Period - Previous Period) / Previous Period) × 100

Example:

  • This week: 50 registrations
  • Last week: 40 registrations
  • Growth: ((50-40)/40) × 100 = 25%

Conversion Indicators

Registration-to-Login Ratio:

Ratio = Total Logins / Total Registrations
  • Ratio > 1: Users returning (good retention)
  • Ratio ≈ 1: Mostly new users
  • Ratio < 1: Possible (counting logins after period start)

Data Export

CSV Export

Export your data for external analysis:

  1. Set desired date range
  2. Click Export CSV
  3. Download begins automatically

Analytics CSV Export

CSV contains:

Date,Registrations,Logins,Cumulative Registrations,Cumulative Logins
2024-01-01,5,8,5,8
2024-01-02,3,12,8,20
2024-01-03,7,15,15,35

Export Options

FormatContents
CSVComma-separated values
Date rangeSelected period
MetricsRegistrations, logins
TotalsCumulative columns

Chart Interactions

Hover Information

Hover over data points to see:

  • Exact date
  • Registration count
  • Login count
  • Comparison to average

Zoom

Click and drag to zoom into a specific period.

Legend Toggle

Click legend items to show/hide metrics:

  • Click "Registrations" to hide/show
  • Click "Logins" to hide/show

Use Cases

Measure Campaign Impact

  1. Note the date of campaign launch
  2. View registrations before/after
  3. Calculate lift percentage

Example:

Before campaign: 10/day average
After campaign: 25/day average
Lift: 150% increase
  1. Set period to "This year"
  2. Identify peak periods
  3. Plan marketing around trends

Monitor Feature Adoption

  1. Enable new feature (e.g., checkout button)
  2. Track registration change
  3. Measure impact

Report to Stakeholders

  1. Set appropriate date range
  2. Export CSV
  3. Create charts in Excel/Sheets
  4. Include in reports

Data Retention

Storage

Data is stored in:

  • Custom database table
  • WordPress options (summary)

Retention Period

  • Default: Indefinite
  • Can be configured
  • Respects data privacy settings

Data Privacy

  • No personal data in analytics
  • Only aggregate counts
  • GDPR compliant

Chart.js Features

The dashboard uses Chart.js for visualization:

Responsive Design

  • Adapts to screen size
  • Mobile-friendly
  • Touch-enabled

Animation

  • Smooth transitions
  • Loading animation
  • Update animation

Accessibility

  • Keyboard navigation
  • Screen reader labels
  • High contrast support

Performance

Data Loading

  • Loads asynchronously
  • Cached for performance
  • Updates on request

Chart Rendering

  • Client-side rendering
  • Minimal server load
  • Fast interactions

Comparison with FREE Stats

FeatureFREEPRO
Total counter
Today/Week/Month
Visual chart
Login tracking
Custom date range
CSV export
Growth rate
Trend analysis

Troubleshooting

No Data Showing

Causes:

  1. No registrations in period
  2. Date range issue
  3. Database query issue

Solutions:

  1. Try "This year" period
  2. Adjust date range
  3. Check error logs

Chart Not Loading

Causes:

  1. JavaScript error
  2. Chart.js not loading
  3. Browser compatibility

Solutions:

  1. Check browser console
  2. Clear caches
  3. Try different browser

Export Not Working

Causes:

  1. Popup blocked
  2. Download permissions
  3. No data to export

Solutions:

  1. Allow popups
  2. Check download folder
  3. Verify data exists

Developer Notes

Database Table

CREATE TABLE {prefix}onetap_stats (
id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
date DATE NOT NULL,
registrations INT DEFAULT 0,
logins INT DEFAULT 0,
UNIQUE KEY date_idx (date)
);

Hooks

// After stats recorded
do_action('onetap_stats_recorded', $type, $count, $date);

// Filter export data
$data = apply_filters('onetap_export_data', $data, $start_date, $end_date);

Next Steps