ProRank SEO
Docs/Performance/AI Performance Doctor

AI Performance Doctor

AI-powered performance analysis with actionable recommendations and automated fixes for Core Web Vitals

Business+ Feature

Prerequisites Required

Before using AI Performance Doctor, you must configure:

  1. PageSpeed Insights API Key - Get your free API key from Google Developers Console
  2. AI Provider Configuration - Set up your AI provider (OpenAI, Gemini, or Claude) in AI Settings

Overview

The AI Performance Doctor analyzes your website's Core Web Vitals and PageSpeed Insights data using advanced AI to provide specific, actionable recommendations. Unlike generic performance tools, it understands your site's unique context and provides tailored solutions with automated fix capabilities for common issues.

AI-Powered Analysis

Intelligent analysis using your configured AI provider (Gemini, OpenAI, or Claude)

Auto-Fix Capability

One-click fixes for common performance issues using existing ProRank modules

Prioritized Actions

Recommendations ranked by impact with clear implementation steps

Setup Guide

1

Get PageSpeed Insights API Key

  1. Visit the Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the PageSpeed Insights API
  4. Create credentials (API Key)
  5. Optionally restrict the key to your domain for security
The PageSpeed Insights API is free for up to 25,000 queries per day, which is more than sufficient for most sites.
2

Configure PageSpeed API Key in ProRank

  1. Navigate to ProRank SEO → Analytics
  2. Click on the Integrations tab
  3. Find the PageSpeed Insights section
  4. Paste your API key
  5. Click Save Settings
3

Configure AI Provider

  1. Navigate to ProRank SEO → AI Tools
  2. Select your preferred AI provider (Gemini, OpenAI, or Claude)
  3. Enter your AI provider API key
  4. Select the model (optional - uses optimal defaults)
  5. Click Save Settings

Recommended AI Providers:

  • Google Gemini - Free tier available, excellent for performance analysis
  • OpenAI GPT-4 - Most advanced, detailed recommendations
  • Claude 3 - Excellent technical understanding

How to Use

Running Performance Analysis

  1. 1

    Navigate to ProRank SEO → Performance

  2. 2

    Find the AI Performance Doctor section

  3. 3

    Click Start Analysis

    The system will:

    • Fetch your current Core Web Vitals data
    • Run PageSpeed Insights analysis
    • Analyze the data with AI
    • Generate prioritized recommendations
  4. 4

    Review recommendations and apply fixes

Understanding the Results

Performance Score Overview

Good (90-100)

Excellent performance, minor optimizations only

Needs Improvement (50-89)

Moderate issues affecting user experience

Core Web Vitals Metrics

  • LCP (Largest Contentful Paint) - Loading performance

    Target: < 2.5 seconds

  • INP (Interaction to Next Paint) - Interactivity

    Target: < 200 milliseconds

  • CLS (Cumulative Layout Shift) - Visual stability

    Target: < 0.1

Available Auto-Fixes

AI Performance Doctor can automatically apply these optimizations using ProRank's existing modules:

Lazy Loading

Automatically enables lazy loading for images and iframes to improve initial page load

  • Native browser lazy loading
  • Excludes above-the-fold images

Image Optimization

Queues unoptimized images for compression and format conversion

  • WebP conversion
  • Responsive image generation

Database Cleanup

Removes database bloat to improve query performance

  • Post revisions cleanup
  • Expired transients removal
  • Table optimization

JavaScript Optimization

Defers non-critical JavaScript to reduce blocking time

  • Script deferring
  • jQuery Migrate removal

CSS Optimization

Optimizes CSS delivery for faster rendering

  • Critical CSS inlining
  • Unused CSS removal

Caching Setup

Enables page and browser caching for faster repeat visits

  • Page cache activation
  • Browser cache headers

Best Practices

Testing Recommendations

  • Always test on a staging site first
  • Create a backup before applying auto-fixes
  • Monitor Core Web Vitals after changes
  • Allow 28 days for Google to update field data

Performance Tips

  • Run analysis during low-traffic periods for accurate results
  • Focus on high-priority recommendations first
  • Re-analyze after each major change
  • Consider mobile performance as the priority

Troubleshooting

Common Issues

"PageSpeed Insights API key is required"

The PageSpeed API key is not configured.

Solution: Go to Analytics → Integrations and add your PageSpeed Insights API key

"AI is not configured"

No AI provider is set up.

Solution: Go to AI Tools and configure your preferred AI provider with API key

"Failed to complete analysis"

The analysis couldn't complete due to API issues.

Solutions:

  • Check your API key quotas
  • Verify API keys are valid
  • Check site connectivity
  • Try again after a few minutes

API Information

PageSpeed Insights API

AI Provider Costs

  • Gemini: Free tier available (60 requests/minute)
  • OpenAI: ~$0.02 per analysis (GPT-4)
  • Claude: ~$0.015 per analysis

Next Steps