TechLead
Lesson 10 of 13
5 min read
SEO

SEO Analytics & Tools

Google Search Console, analytics, and tracking performance

SEO Analytics & Tools

Measuring and analyzing your SEO performance is essential for continuous improvement. The right tools help you understand what's working and identify opportunities.

Google Search Console

Free tool from Google for monitoring your site's search performance:

  • Performance Report: Clicks, impressions, CTR, position by query/page
  • Coverage Report: Indexed pages, errors, warnings
  • Core Web Vitals: Page experience metrics
  • Mobile Usability: Mobile-friendly issues
  • Links Report: Internal and external links
  • URL Inspection: Check how Google sees specific pages
// Key metrics to track in Search Console

const searchConsoleMetrics = {
  // Performance metrics
  "clicks": "Number of clicks from search results",
  "impressions": "Times your pages appeared in search",
  "ctr": "Click-through rate (clicks / impressions)",
  "position": "Average ranking position",

  // Monitor for issues
  "coverage_errors": "Pages with indexing problems",
  "mobile_issues": "Mobile usability problems",
  "security_issues": "Hacked content, malware"
};

Google Analytics 4

// Next.js Google Analytics setup
// app/layout.tsx

import { GoogleAnalytics } from '@next/third-parties/google';

export default function RootLayout({ children }) {
  return (
    <html>
      <body>
        {children}
        <GoogleAnalytics gaId="G-XXXXXXXXXX" />
      </body>
    </html>
  );
}

// Key SEO metrics in GA4:
// - Organic traffic (source/medium)
// - Landing pages
// - Engagement rate
// - Conversions from organic
// - User behavior flow

Essential SEO Tools

Free Tools

  • Google Search Console: Search performance
  • Google Analytics: Traffic analysis
  • Google PageSpeed Insights: Performance
  • Bing Webmaster Tools: Bing search data
  • Screaming Frog (500 URLs): Site audits

Paid Tools

  • Ahrefs: Backlinks, keywords, competitors
  • SEMrush: All-in-one SEO platform
  • Moz Pro: SEO metrics and tracking
  • Screaming Frog: Technical audits
  • Surfer SEO: Content optimization

KPIs to Track

const seoKPIs = {
  // Traffic metrics
  "organic_traffic": "Monthly organic visitors",
  "organic_traffic_growth": "Month-over-month change",

  // Ranking metrics
  "keyword_rankings": "Position for target keywords",
  "keywords_in_top_10": "Number of first-page rankings",

  // Engagement metrics
  "bounce_rate": "Single-page sessions",
  "time_on_page": "Average engagement time",
  "pages_per_session": "Page depth",

  // Conversion metrics
  "organic_conversions": "Goals from organic traffic",
  "conversion_rate": "Conversions / organic sessions",

  // Technical metrics
  "indexed_pages": "Pages in Google's index",
  "crawl_errors": "Pages with crawl issues",
  "core_web_vitals": "LCP, FID, CLS scores"
};

Monthly SEO Reporting

  • Compare organic traffic to previous month/year
  • Track ranking changes for priority keywords
  • Review new and lost backlinks
  • Check for technical issues
  • Monitor Core Web Vitals
  • Analyze top-performing content
  • Document changes made and their impact

Continue Learning