Skip to content
  • There are no suggestions because the search field is empty.

Verify your domain with Google Search Console and Meta

Verify your Learnyst site in Google Search Console or Meta: paste the meta tag in Code Snippets and builder Header Code, or add a DNS TXT record.

Google Search Console and Meta ask you to prove that you own your website before they show you its data or let you manage it. The simplest way on Learnyst is to paste the verification meta tag they give you into Code Snippets. If you use your own custom domain, you can verify with a DNS record instead.

Before you start

Which method to use

Method Works for Where
Meta tag (recommended) Google Search Console URL prefix properties; Meta, if it gives you a meta tag Learnyst Code Snippets (and the website builder's Header Code)
DNS TXT record Google Search Console Domain properties (required) and Meta Your domain provider's DNS settings. Only for a domain you own.

Google: the HTML tag method "Can be used for URL-prefix properties, but not Domain properties", and the DNS record is "required only for Domain property" (Google: Verify your site ownership).

Verify Google Search Console with a meta tag

  1. In Google Search Console, add a URL prefix property with your school address exactly as learners see it, starting with https://.
  2. Choose the HTML tag method and copy the meta tag. It looks like this:
<meta name="google-site-verification" content="your-code-from-search-console" />
  1. In Learnyst, go to Grow > Marketing > Integrations > Code Snippets.
  2. Click Site Footer Code (or Site Body Code; both load inside the page <head>). Paste the meta tag on its own line, at the start of the box, and click Save changes. A meta tag doesn't need <script> tags.
  3. If your home page is a website builder page, also paste the tag in Websites & Apps > Website > The all new Learnyst website builder > View Pages > More > Website Settings > Custom Code > Header Code, click Save, and publish your pages again. Google checks your "non-logged-in home page" (Google: Verify your site ownership).
  4. Back in Search Console, click Verify.

Site Footer Code tab with a google-site-verification meta tag on the first line of the box, Enable In Classroom and Save changes

Website builder Website Settings Custom Code with the Header Code box and the note to publish all pages

Leave the meta tag in place after you are verified. Google treats removing an owner's HTML tag as a way to unverify that owner (Google: Verify your site ownership).

After verifying, submit your sitemap in Search Console. To create it, see Generate a sitemap.xml and add it to your school SEO settings. You can also link Search Console to GA4 (Google: Connect Search Console to Google Analytics).

Verify your domain with Meta

Meta domain verification proves you own the domain your ads link to. Start in your Meta business portfolio and follow Meta's guide (Meta: Verify Your Domain from your business portfolio). Meta's developer documentation describes verifying through a DNS TXT record or an HTML file uploaded to your site's root folder (Meta: Domain Verification).

  • If Meta gives you a meta tag (<meta name="facebook-domain-verification" content="..." />), paste it in Learnyst the same way as the Google tag above: Site Footer Code or Site Body Code, plus the website builder's Header Code if your home page is a builder page. Then click Verify in Meta.
  • If you use your own domain, the DNS TXT record is usually the simplest choice; see below.

Verify with a DNS TXT record (custom domains)

  1. In Search Console, add a Domain property (for example myschool.com), or in Meta choose the DNS option. Copy the TXT record value.
  2. Sign in to the company where you manage your domain's DNS (where you mapped your custom domain), and add a new TXT record with that value.
  3. Go back to Google or Meta and click Verify. DNS changes can take time to apply, so if it fails, try again later.

Google: "To stay verified, don't remove the DNS record from your provider, even after verification succeeds." A Domain property also covers all subdomains and both http and https (Google: Verify your site ownership).

Common mistakes

  • Wrong property type: trying the HTML tag on a Search Console Domain property. Use DNS for Domain properties, or add a URL prefix property.
  • Address mismatch: verifying https://www.myschool.com when learners use https://myschool.com, or the reverse. Use the exact address.
  • Tag only in Code Snippets when the home page is a builder page, or not publishing the builder pages again after adding it.
  • Tag wrapped in <script> tags or pasted inside another script. Paste the meta tag on its own line.
  • Removing the tag or TXT record after verifying, which can unverify you later.
  • Trying DNS for a learnyst.com address. You can only add DNS records to a domain you own; use the meta tag method instead.

If it doesn't work

  • Google says the tag wasn't found: open your home page in a private window, view the page source and search for google-site-verification. If it's missing, check that you clicked Save changes, and add the tag to the website builder's Header Code if your home page is a builder page.
  • The tag is found but verification fails: check that the content value matches the one Search Console shows now. If you started over, Google gives a new value.
  • Meta tag method doesn't work or isn't offered: use the DNS TXT record on your custom domain.

What to do next

If you have questions, contact us at support@learnyst.com.