Google Search Console Verification

Verify Site Ownership

Google Search Console is essential for monitoring your site's presence in Google search results. Follow these steps to verify ownership of your site.

Step 1: Open Google Search Console

https://search.google.com/search-console

Step 2: Enter Your Domain

Add your website and choose one of the verification methods.

Step 3: Choose HTML Tag Verification

The HTML tag method is often the easiest. Copy your verification code from Google:

Enter the code from Google Search Console (just the verification string, not the entire meta tag)

Step 4: Add to Your Site

Add the generated meta tag to your site's layout.tsx file inside the <head> section:

import { Metadata } from 'next'

export const metadata: Metadata = {
  // ... other metadata
  verification: {
    google: 'YOUR_VERIFICATION_CODE',
  },
}

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <head />
      <body>
        {children}
      </body>
    </html>
  )
}

Next.js App Router automatically inserts the meta tag for you when using the metadata object.

Step 5: Verify and Complete

After adding the tag to your site, go back to Google Search Console and click "Verify". Once verified, you'll have access to:

  • Search performance reports
  • Indexing status and coverage
  • Mobile usability information
  • Core Web Vitals reports
  • Submit and test sitemaps