Skip to main content
Solved

Embed SlapFive Story in a html widget

  • November 5, 2025
  • 5 replies
  • 61 views

Alistair FIeld
Forum|alt.badge.img+4

Good Morning Gainsters

 

We are looking to embed our customer advocacy tool into our community.

It can be embedded wit ha jscript. Here is an example:

 

<div id="board_1"></div> <script type="text/javascript" src="//pym.nprapps.org/pym.v1.min.js"></script><script> var pymParent = new pym.Parent('board_1', 'INSERT_URL_HERE', {allowfullscreen: true}); </script>

 

How do I get this into a html widget?

I have tried straight pasting and third-party scripts in control but to no avail.

 

Here is their documentation for reference…. 

https://docs.slapfive.com/customizations/embed-customer-voice-on-your-website-or-landing-page

Thanks in advance for the assistance,

Best answer by Alistair FIeld

OK.. I Figured it out.

In the before body section of third body scripts I added the Scripts, and in the widget I had just the <div> section in the widget itself.

 

5 replies

revathimenon
Forum|alt.badge.img+8
  • Gainsight Community Manager
  • November 6, 2025

Hey ​@Alistair FIeld 🙂

I checked on this internally, and the suggestion is that your script likely needs some styling to display correctly. We generally don’t recommend placing JavaScript directly into an HTML widget — instead, it’s best to add it through the Third-Party Scripts section.

If you need more help setting this up, our Support team can guide you with the exact steps. I’d recommend raising a ticket with them for further assistance. 

 


Alistair FIeld
Forum|alt.badge.img+4
  • Author
  • Expert ⭐️
  • Answer
  • November 7, 2025

OK.. I Figured it out.

In the before body section of third body scripts I added the Scripts, and in the widget I had just the <div> section in the widget itself.

 


aluciani
Forum|alt.badge.img
  • Helper ⭐️
  • November 8, 2025

@Alistair FIeld Can you provide a screen shot of how the finished product looks?


Alistair FIeld
Forum|alt.badge.img+4
  • Author
  • Expert ⭐️
  • November 10, 2025

@aluciani in a whole width widget it looks like this.

 

and in a sidebar html widget it looks like this

 

 


aluciani
Forum|alt.badge.img
  • Helper ⭐️
  • November 10, 2025

Nice, thanks for sharing ​@Alistair FIeld