Question
Can I verify my subdomain to be used inGoogle Search Console?
Answer
Yes, you can verify your subdomain in Google Search Console by linking your account to Google Analytics. This method allows you to verify ownership without the need to modify your theme or add custom HTML directly to your help center. It simplifies the process and reduces the risk of affecting your site's design.
To link your account to Google Analytics
- Go towww.google.com/analyticsandset up a propertywithin your Google Analytics account for your subdomain.
- Verify your site ownershipand follow the prompts.
- Copy and add the tracking ID (UA-XXXXXXXX-X)to your help center as described in the article:Setting up Google Analytics and third-party analytics for your help center.
- Go to Google Search Console and add a new property. As you're only able to add prefixes, use the following:
http://yoursubdomain.zendesk.com
-
https://yoursubdomain.zendesk.com
(plus any segmenting for languages)
Note: Although Google Search Console usually requires you to embed a verification code snippet, steps 1 and 2 already accomplish this automatically for you.