Generating the meta tag via javascript



Hey guys!

I’m trying to have Swiftype index the breadcrumbs on Zendesk articles. This requires that I use a custom meta tag per article:
<li data-swiftype-name="sections" data-swiftype-type="string">content to be indexed here</li>

Since we’d have to do this on hundreds of articles, I’m thinking having this dynamically generated on each article via javascript.

I’m testing this out right now, but aren’t getting any positive results. Does anyone know if a javascript generated meta tag can be indexed by Swiftype?


Cancel that, we figured it out.

Swiftype doesn’t crawl JS, though @cpatton was very in getting us through this - thanks!