Google Search Console
30-45 minIntermediate
Verify your Next.js site ownership in Google Search Console.
Prerequisites
- Google Search Console account
Beginner Recommended
Metadata API
Adding verification meta tag.
1
Verification Tag
1
Add the verification key to your metadata object export.
Example
export const metadata = {
verification: {
google: 'google-site-verification=XYZ',
yandex: 'yandex-verification=XYZ',
},
}Verification Checklist
- Click 'Verify' in Google Search Console property settings.
- Inspect page source for
<meta name="google-site-verification" ...>.