# Perform Google Search Console Verification with Discourse

**URL:** https://meta.discourse.org/t/perform-google-search-console-verification-with-discourse/107229
**Category:** Site Management
**Tags:** how-to
**Created:** [January 23, 2019, 1:05am UTC](https://meta.discourse.org/t/perform-google-search-console-verification-with-discourse/107229 "2019-01-23T01:05:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [January 23, 2019, 1:05am UTC](https://meta.discourse.org/t/perform-google-search-console-verification-with-discourse/107229/1 "2019-01-23T01:05:21Z")

</div>

> 🔖 This guide describes how to perform Google Search Console (f.k.a Google Webmaster Tools) verification with Discourse. You can verify domain ownership using three methods - by using the site setting in your forum, creating a TXT DNS record, or by adding an HTML tag.
> 
> 🙋 Required user level: Administrator

Verifying your Discourse site with Google Search Console (GSC) ensures that Google can access your site’s data for accurate search indexing and analysis. This guide details three methods to verify domain ownership:

- Using the site setting (Recommended)
- Creating a TXT DNS record
- Adding an HTML tag

## Setting up a new property in Google Search Console

1. Navigate to [Google Search Console](https://search.google.com/u/1/search-console) and [set up a new property](https://support.google.com/webmasters/answer/34592) by entering the URL of your forum:

2. Google Search Console will attempt to verify your ownership of the domain. Once this fails, you will be presented with a list of verification methods:

## Verifying Domain Ownership

### Method 1: Using the site setting (Recommended)

1. In the verification options, select “HTML Tag” to generate a unique verification tag.

2. From the HTML tag that Google provides, copy only the verification token:

3. On your site, go to your admin dashboard, find the “Community” section on your admin sidebar, and select “Analytics & SEO”

4. Find the `Google site verification token` site setting and paste the verification token you copied (only the `content` value, not the entire HTML tag)

5. Select the ✅ button to save the change

6. Return to GSC and click “Verify”

7. Your domain should now be verified

### Method 2: Creating a TXT DNS record

1. In the verification options, select “Domain name provider”.

2. Copy the string Google provides: `google-site-verification={string_here}`.

3. Return to GSC and click “Verify” under Domain Name Provider.

4. Your domain should now be verified.

### Method 3: Manually Adding an HTML tag

1. In the verification options, select “HTML Tag” to generate a unique verification tag:

2. On your forum, go to `/admin/config/customize/themes` and select “Components”:

3. Create a new theme component by clicking “Install” → “Create new”. Name it meaningfully, e.g., “GSC Verification”, then click “Create”:

4. Attach this new component to all of your themes.

5. Select “Edit CSS/HTML” under the “Custom CSS/HTML” section:

6. Paste the HTML tag provided by GSC into the `<head>` section, then save the changes.

7. Return to GSC and click “Verify”.

8. Your domain should now be verified.

> Last edited by @Moin 2026-04-22T04:56:09Z
> 
> Last checked by @SaraDev 2025-10-09T19:18:36Z
> 
> > **Check document**
> >
> > Perform check on document:
