• Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

Question How can I embed SurveyMonkey in Elementor?

S

Samira

New Member
Hello,

I'm using the OceanWP theme together with Elementor. For a survey I wanted to use SurveyMonkey which offers the option to embed your survey into your website.
For this I've used the following html code to test this function which I've inserted into the html widget. As I'm not allowed to post links in this thread I've exchanged the links by the variable somelinks

<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:"===location.protocol?"https://":"http://","somelink"].join(""),a.parentNode.insertBefore(c,a))})(window,document,"script","smcx-sdk");</script><a style="font: 12px Helvetica, sans-serif; color: #999; text-decoration: none;" href="somelink"> Erstellen Sie Ihre eigene Umfrage zu Nutzerfeedback. </a>

After adding this code the design in the front end looks different to the one edited in the backend.

Does someone has an idea how to manage this problem? :)

(Sorry for the bad english. I hope it's understandable.)
 
R

rrcaron

New Member
Samira, did you ever get a response to your question? I am having the same problem and would love to know how to do this. Thanks!
 
E

Eljay Bos

New Member
Hi Samara, first of all, everything between <script> and </script> is Java script, and should be put into the header. Everything between <HTML> and </html> can be put inside the HTML widget or the text editor.
 
R

rrcaron

New Member
I found a "Custom Code" widget in Wordpress - and the entire script can be copied / pasted in that and the embed code works perfectly.
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top