I am currently trying to set up pop-up surveys for my website, which after 10 seconds visitors Appears, but only a therapeutic understanding of coding is Surveymonkey generated the following code for pop-ups, but how do I include this delayed pop-up feature?
& lt; Script src = "http://www.surveymonkey.com/jsPop.aspx SM = WVuy7oI7MerxwqmaCFF23g_3d_3d" & gt; & Lt; / Script & gt; You must use JavaScript to add this script tag to the page 10 seconds Timeout, front instead of loading it It should work for you:
& lt; Script & gt; SetTimeout (function () {var head = document.getElementsByTagName ('head') [0]; var script = document.createElement ('script'); script.src = 'http://www.surveymonkey.com/jsPop Aspx ? Sm = WVuy7oI7MerxwqmaCFF23g_3d_3d '; head.appendChild (script);}, 10000); & Lt; / Script & gt;
No comments:
Post a Comment