GSC Winners & Losers Analysis

A powerful Google Apps Script that automatically analyzes your Google Search Console data to identify winning and losing keywords, pages, and categories. Perfect for SEO reporting and strategy optimization.

⬇️ Jump to Code Copy

📊 Auto-Generate Reports

Creates pivot tables and charts automatically from your GSC data with just one click.

🎯 Winners & Losers

Identifies top performing keywords and pages that are gaining visibility, plus those losing traction.

💡 Action Plan

Generates actionable insights for quick wins and CTR optimization opportunities.

📈 Comparison Analysis

Compares current vs previous periods to track performance changes automatically.

How to Use

Step-by-Step Setup:

  1. Export GSC Data: Go to Google Search Console → Select your property → Download your data (Pages & Queries tabs) as CSV files. Import them into a Google Sheet.
  2. Copy the Script: Click the "Copy Script" button below to copy the entire Apps Script code.
  3. Open Google Sheets: Open your Google Sheet with the GSC data.
  4. Access Apps Script: Go to Extensions → Apps Script (or Scripts in older Sheets).
  5. Paste the Code: Delete the default code and paste the copied script.
  6. Save and Authorize: Click Save, then refresh your Sheet. You'll see a new "SEO Tools" menu appear.
  7. Run the Report: Click "SEO Tools" → "Run Full SEO Report & Action Plan" to generate your analysis.

What This Script Does:

Copy the Script

Click the button below to copy the entire Apps Script code, then paste it into your Google Sheet's Apps Script editor:

💡 Pro Tips:
  • Make sure your GSC export has "Pages" and "Queries" sheet names exactly as shown.
  • The script works best with at least 2 comparison periods (current vs previous).
  • Check that your clicks, impressions, and position columns are properly labeled.
  • The script will create new pivot tables, so don't worry if your original data is modified.