cancel
Showing results for 
Search instead for 
Did you mean: 

PopUp Not Showing and Email Not Sending

PopUp Not Showing and Email Not Sending

Our PopUp box shown below does not send registration confirmation emails with the 20% off coupons. I've looked through the code and can't figure it out. See code below image. Thank you.

 

 

register.png

 

<script type="text/javascript">
 EsNewsSubscribers.setCookieLiveTime(1000);
 EsNewsSubscribers.setCookieName('es_newssubscribers');
 EsNewsSubscribers.setBaseUrl('https://www.dressmeoutlet.com/');
 </script>
 <div id="esns_background_layer">
 <div id="esns_box_layer">
 <div id="esns_box_close"></div>
 <div id="esns_box_title">
 <div id="esns_box_block_1">
 Get your discount code now. </div>
 </div>
  
 <div class="esns_box_lines"></div>
 <div id="esns_box_block_3">
 Get 20% off your first order when you register your email address with Dressmeoutlet.com </div>
 <div class="esns_box_lines"></div>
 <div id="esns_box_subscribe">
 <div id="esns_box_subscribe_response_error"></div>
 <div id="esns_box_subscribe_response_success"></div>
 <div id="esns_box_subscribe_form">
 <div id="esns_box_subscribe_input"><input onclick="if(this.value=='Email') this.value=''" onblur="if(this.value=='') this.value='Email'" id="esns_email" name="subscribe_email" value="Email" type="text"></div>
 <div id="esns_box_subscribe_submit"><a href="javascript&colon;void(0)" id="esns_submit" >Register</a></div>
 </div>
 </div>
 </div>
 </div>
 <script type="text/javascript" src="//cdn.recapture.io/sdk/v1/ra-queue.min.js?v=2468391"></script>
 <script type="text/javascript">
 ra('init', ['ldkdsqwv']);
 ra('page');
 ra('email');
 </script>
 <!-- Start of Zendesk Widget script -->
 <script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="x-javascript&colon;false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='x-javascript&colon;var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("https://assets.zendesk.com/embeddable_framework/main.js","http://dressmeoutlet.zendesk.com");/*]]>*/</script>
 <!-- End of Zendesk Widget script --> </div>
 </div>
 <script type="text/javascript">
 adroll_adv_id = "IOEXCZIJHJHG5P667W2L64";
 adroll_pix_id = "A6IHMASJAZBABGTUDSAQBA";
 /* OPTIONAL: provide email to improve user identification */
 /* adroll_email = "username@example.com"; */
 (function () {
 var _onload = function(){
 if (document.readyState && !/loaded|complete/.test(document.readyState)){setTimeout(_onload, 10);return}
 if (!window.__adroll_loaded){__adroll_loaded=true;setTimeout(_onload, 50);return}
 var scr = document.createElement("script");
 var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
 scr.setAttribute('async', 'true');
 scr.type = "text/javascript";
 scr.src=host + "/j/roundtrip.js";
 ((document.getElementsByTagName('head') || [null])[0] ||
 document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
 };
 if (window.addEventListener) {window.addEventListener('load', _onload, false);}
 else {window.attachEvent('onload', _onload)}
 }());
 </script> </div>
 </div>
 </body>
 </html>