Jump to content

Unable to get embedded script to display on website

Recommended Posts

Site: https://www.calfreshcalpoly.org/

I'm not sure why the embedded widget isn't appearing on my website. This is the script I'm putting into the code block

 

<script>(function(t,e,s,o){var n,c,l;t.SMCX=t.SMCX||[],e.getElementById(o)||(n=e.getElementsByTagName(s),c=n[n.length-1],l=e.createElement(s),l.type="text/javascript",l.async=!0,l.id=o,l.src=https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgdzREfm8rcnxcBG8zIWVLmOCQoGfLQQfSdZVmJ9LRYCZA.js,c.parentNode.insertBefore(l,c))})(window,document,"script","smcx-sdk");</script>

 

I've tried opening the page in incognito and closing the tab like other answers have said but I haven't found any luck. Any help would be appreciated. Thank you!

 Screenshot2023-02-27223751.thumb.png.78e87c4ab00f00526072fdb2f241a6da.pngScreenshot2023-02-27222526.thumb.png.c5fc6cb581fc5249e40de731b49cfe33.png

Link to comment

I'm not sure why it's not loading. I assume you copied the code directly from Survey Monkey, what type of embed did you choose? Have you tried different types? Have you explored troubleshooting on Survey Monkey?

Edited by Ziggy

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • 2 weeks later...
  • 2 months later...
On 6/1/2023 at 11:10 AM, paul11 said:

Hi @tuanphan, I'm back looking at this issue again where Squarespace and Survey Monkey don't play together. This is the link I am try to display;
https://www.surveymonkey.com/stories/SM-DMGe0EmiD99cJTN5FxZb4A_3D_3D/

Try adding a Code Block with this code

<iframe src="https://www.surveymonkey.com/stories/SM-DMGe0EmiD99cJTN5FxZb4A_3D_3D/" width="100%" height="500px"></iframe>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 6/10/2023 at 10:33 AM, paul11 said:

Thanks @tuanphan !    It didn't work 😔, it displayed a frame but no content??? I used the code block as follows;

Apologies for the slow response !

Image 10-6-2023 at 1.28 pm.jpg

Can you share link to this page?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.