Allow HTML content in Web Widget
We use Pendo for inline guides, walkthroughs and tutorials on our site. We'd like to be able to write a help article on a topic and then provide a link to "see it live".
Pendo has a great API, and it's possible to open a walkthrough using javascript or a link, but none of these seem to work via the WebWidget. We've tried the following options:
-
<button onclick="parent.zE('webWidget', 'close');parent.pendo.showGuideById('...')"> ... </button> ← The WebWidget will show the button text, but it strips out the `onclick` attribute and changes the `button` to a `p`.
- <a href="https://example.com?_pendo=..."> ... </a> ← This opens in a new window (even with that option unchecked) and strips everything after the `?`
- <a href="javascript:parent.zE('webWidget', 'close');parent.pendo.showGuideById('...')"> ... </a> ← The WebWidget strips everything from the 'href'
At this point, I can not think of a single way to use the WebWidget with our site. Advice appreciated.
-
Hey,
The Zendesk widget does indeed strip all custom HTML and javascript outside of what's available via the wysiwig editor in guide artikels (so not the direct code editor).
One way we did it a while back for customers of ours is instead of linking to https://widget.guide?parameter=value was using a bit.ly URL shortener. So e.g. linking to https://bit.ly/2KgnNwL
That works.
サインインしてコメントを残してください。
1 コメント