Index Confluence & Scroll Viewport site content to show up in Zendesk help center search results
Hello,
We want to set up the Zendesk Help Center search crawler to index content from our Confluence instance to allow our Zendesk users to view search results from that Confluence doc site.
We are currently running Confluence server 7.13 with Scroll Viewport (2.20.4) and using the Help Center Theme with its theme-settings.properties file and multiple viewports grouped together in a viewport collection.
The Zendesk Help Center search crawler can index content from a Confluence site by pasting a domain ownership verification HTML tag into the <head> section in the HTML code of the site's home page (see Zendesk help article "Setting up the search crawler"
https://support.zendesk.com/hc/en-us/articles/4593564000410-Setting-up-the-search-crawler). We've tried adding an HTML tag similar to the following but have not been able to make it work:
<meta name='zd-site-verification' content='7a4c8gja8m4f1v5jyoh' />
Would really appreciate some insights on whether it is possible to use the crawler with Scroll Viewport and if so, how to add the HTML tag to allow Zendesk to verify our Confluence instance domain and start indexing it for search results.
Best and many thanks,
Annica
-
Hi Annica,
Thanks for the question.
If you're using the help center theme, you won't be able to modify the <head> section in the HTML code. What we recommend instead is to try to inject the verification code as Javascript into your Viewport.
The Javascript could look like this:
var meta = document.createElement('meta'); meta.name = "zd-site-verification"; meta.content = "YOURSITEVERIFICATIONNUMBER"; document.getElementsByTagName('head')[0].appendChild(meta);
If you need more details or have any further questions, please don't hesitate to reach out to us via help@k15t.com and we'll be happy to help out!Cheers,Laura (K15t)
Please sign in to leave a comment.
Comments
2 comments