# Surveymonkey embedded poll in HubSpot

**URL:** <https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310>\
**Category:** Blog, Website & Page Publishing\
**Tags:** professional\
**Created:** [July 6, 2021, 3:36pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310 "2021-07-06T15:36:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wviau](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wviau/32/27794_2.png) [@wviau](https://community.hubspot.com/u/wviau)\
**Post date:** [July 6, 2021, 3:36pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/1 "2021-07-06T15:36:14Z")

</div>

Hi!

So, I’ve got a client who is using the HubSpot blog platform, but wants to embed a Surveymonkey poll directly into a blog post. They’ve got a paid Surveymonkey subscription, so it’s possible to get an embed code for the survey. However, when I use the embed code in the blog post, it won’t render the survey correctly. It seems to include a tiny 8pt. tall window that scrolls up and down the embedded survey (single question, multiple choice) that is so narrow you can’t read the survey. Very un-user-friendly.

Is there something I’m doing wrong here? I’ve embedded YouTube videos and other embed codes before that have worked out just fine. Can a HubSpot blog contain a Surveymonkey embedded survey?

---

<div class="post-metadata">

**Author:** ![Crystal\_Hopper](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/crystal_hopper/32/91040_2.png) [@Crystal\_Hopper](https://community.hubspot.com/u/Crystal_Hopper)\
**Post date:** [July 6, 2021, 7:52pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/2 "2021-07-06T19:52:24Z")

</div>

Hi @wviau! Since you’ve embedded other content, I’m assuming you are at least somewhat familiar with manually manipulating embed code and changing the height and other parameters. Is this correct? If not, then that’s something you might look at closely. Really look at the embed code and see if you can modify it and change parameters to make it work.

Is there any chance you could share a SurveyMonkey embed snippet here so we could try it? It doesn’t have to be the actual survey you’re working with for privacy reasons. You could make a test one to try.

---

<div class="post-metadata">

**Author:** ![wviau](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wviau/32/27794_2.png) [@wviau](https://community.hubspot.com/u/wviau)\
**Post date:** [July 6, 2021, 8:17pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/3 "2021-07-06T20:17:59Z")

</div>

Hi Crystal!

Try this on for size. Here’s what Surveymonkey provides for its embed code on a designed test survey with a (theoretical) height and width of “700” (the maximum on the height and width sliders in their formatting options):

\<script\>(function(t,e,s,n){var o,a,c;t.SMCX=t.SMCX||[],e.getElementById(n)||(o=e.getElementsByTagName(s),a=o[o.length-1],c=e.createElement(s),c.type=“text/javascript”,c.async=!0,c.id=n,c.src=“[https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd6APemm2sOAolx7z6u\_2FSoZBNE2wvzbqZPibSxcnUZgEh.js](https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd6APemm2sOAolx7z6u_2FSoZBNE2wvzbqZPibSxcnUZgEh.js)”,a.parentNode.insertBefore(c,a))})(window,document,“script”,“smcx-sdk”);\</script\>\<a style=“font: 12px Helvetica, sans-serif; color: #999; text-decoration: none;” href=[www.surveymonkey.com](http://www.surveymonkey.com)\> Create your own user feedback survey \</a\>

It says this is what it should look like when embedded (these are the top and the bottom of the in-box scrolling area):

 ![Screen Shot 2021-07-06 at 4.10.52 PM.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/d/db6eb9b93a04fa510e243342c6d19e0c1402934b.jpeg)

 ![Screen Shot 2021-07-06 at 4.11.04 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/3/327ea6c48a8e9a93fff3b7ecd0cbe21dc36fda8a.png)

However, when I actually place it in the HubSpot blog post, it shows like this in the preview or live version, with the ability to scroll (using the mouse wheel) within that tiny embed space after the blog text. Interestingly, the embedded survey shows no bottom border either:

 ![Screen Shot 2021-07-06 at 4.15.18 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/7/e75819be61252d22b4dd6d00dd26d392497335e6.png)

Thoughts?

---

<div class="post-metadata">

**Author:** ![wviau](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wviau/32/27794_2.png) [@wviau](https://community.hubspot.com/u/wviau)\
**Post date:** [July 6, 2021, 8:19pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/4 "2021-07-06T20:19:38Z")

</div>

Oh, I should note, it shows up exactly like that whether there’s more text continuing under it, a CTA, or a form. It’s not an overlap issue.

---

<div class="post-metadata">

**Author:** ![Crystal\_Hopper](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/crystal_hopper/32/91040_2.png) [@Crystal\_Hopper](https://community.hubspot.com/u/Crystal_Hopper)\
**Post date:** [July 6, 2021, 8:43pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/5 "2021-07-06T20:43:49Z")

</div>

That code does the same for me. So I started knocking things out. I currently have this:

\<div class=“hs-embed-wrapper” data-script-embed=“true” style=“position: relative; overflow: hidden; height: 700px;”\>\<div class=“hs-embed-content-wrapper”\>\<script\>(function(t,e,s,n){var o,a,c;t.SMCX=t.SMCX||[],e.getElementById(n)||(o=e.getElementsByTagName(s),a=o[o.length-1],c=e.createElement(s),c.type=“text/javascript”,c.async=!0,c.id=n,c.src=“[https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd6APemm2sOAolx7z6u\_2FSoZBNE2wvzbqZPibSxcnUZgEh.js](https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd6APemm2sOAolx7z6u_2FSoZBNE2wvzbqZPibSxcnUZgEh.js)”,a.parentNode.insertBefore(c,a))})(window,document,“script”,“smcx-sdk”);\</script\>\</div\>\</div\>

Make sure you use the Insert - Embed function in Hubspot:

 ![Crystal_Hopper_3-1625604360371.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/a/adba209c4d8163e9b801059b1406f380767bca7c.png)

Mostly I took out a lot of the sizing and responsive settings in the first Div. Not sure you want it all to come out but just start removing things until it shows up correctly.

And it shows up in Preview mode:

 ![Crystal_Hopper_1-1625604112894.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/d/6dc65970c09669633d84c36b458fb31f9decb9d6.png)

 ![Crystal_Hopper_2-1625604146026.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/79bd0f44f11fc82db8c0233c0075ccd8960a530f.png)

---

<div class="post-metadata">

**Author:** ![wviau](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wviau/32/27794_2.png) [@wviau](https://community.hubspot.com/u/wviau)\
**Post date:** [July 6, 2021, 8:57pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/6 "2021-07-06T20:57:26Z")

</div>

Wow! That worked great. Yeah, once I trimmed the client embed code down to just the “\<script\> … \</script\>” chunk, it worked just fine. Thanks a ton!

---

<div class="post-metadata">

**Author:** ![Crystal\_Hopper](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/crystal_hopper/32/91040_2.png) [@Crystal\_Hopper](https://community.hubspot.com/u/Crystal_Hopper)\
**Post date:** [July 6, 2021, 9:13pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/7 "2021-07-06T21:13:53Z")

</div>

Glad to hear it!

---

<div class="post-metadata">

**Author:** ![DHaley](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DHaley](https://community.hubspot.com/u/DHaley)\
**Post date:** [October 24, 2021, 7:29pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/8 "2021-10-24T19:29:38Z")

</div>

Did you got the solution can you help me out too? I don’t know where to add formatting scripts in web ? I although watch other videos but cannot pick the things.

---

<div class="post-metadata">

**Author:** ![Crystal\_Hopper](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/crystal_hopper/32/91040_2.png) [@Crystal\_Hopper](https://community.hubspot.com/u/Crystal_Hopper)\
**Post date:** [October 25, 2021, 1:23pm UTC](https://community.hubspot.com/t/surveymonkey-embedded-poll-in-hubspot/40310/9 "2021-10-25T13:23:41Z")

</div>

Hi @DHaley. What is your embed code and what version of Hubspot are you using? Are you trying to embed the code in a page, blog post, other? We’ll do our best to help you also.
