Can I verify my subdomain to be used in Google Search Console?
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 and all you need to do is to enable Google Analytics.
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.
- 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 back to Google Search Console and add a new property. As you are only able to add prefixes, we recommend the following:
https://YOURSUBDOMAIN.zendesk.com (plus any segmenting for languages)
Verify your site ownership and follow the prompts.
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.