Question
Can I verify my subdomain to be used in Google Search Console?
Answer
Yes. you can verify your subdomain to be used in Google Search Console by linking your account to Google Analytics. This way you avoid customizing the theme of your help center.
To link your account to Google Analytics
- Go to www.google.com/analytics and set up a property within your Google Analytics account for your subdomain.
- Verify your site ownership and follow the prompts.
- Copy and add the tracking ID (UA-XXXXXXXX-X) to the Help Center as described in the article: Adding the tracking ID to the Help Center.
- Go to Google Search Console and add a new property. As you are only able to add prefixes, use the following:
http://YOURSUBDOMAIN.zendesk.com
orhttps://YOURSUBDOMAIN.zendesk.com (plus any segmenting for languages)
Note: In the steps Google provides, it states you need to embed the snippet of code they provide. Steps 1 and 2 already accomplish this automatically for you.
For more information about best practices on attachments and security, see the articles below: