Jump to content

Mailerlite Popup Script for Emails Not Working

Recommended Posts

  • Replies 3
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Hi @tuanphan - here's what I have: 

 

<!-- MailerLite Universal -->
<script>
    (function(w,d,e,u,f,l,n){w[f]=w[f]||function(){(w[f].q=w[f].q||[])
    .push(arguments);},l=d.createElement(e),l.async=1,l.src=u,
    n=d.getElementsByTagName(e)[0],n.parentNode.insertBefore(l,n);})
    (window,document,'script','https://assets.mailerlite.com/js/universal.js','ml');
    ml('account', '357978');
</script>
<!-- End MailerLite Universal -->

I did a check for settings on the Mailerlite side from this article: https://www.mailerlite.com/help/how-to-troubleshoot-pop-up-forms 

Link to comment
On 8/10/2023 at 8:15 AM, sixfifty said:

Hi @tuanphan - here's what I have: 

 

<!-- MailerLite Universal -->
<script>
    (function(w,d,e,u,f,l,n){w[f]=w[f]||function(){(w[f].q=w[f].q||[])
    .push(arguments);},l=d.createElement(e),l.async=1,l.src=u,
    n=d.getElementsByTagName(e)[0],n.parentNode.insertBefore(l,n);})
    (window,document,'script','https://assets.mailerlite.com/js/universal.js','ml');
    ml('account', '357978');
</script>
<!-- End MailerLite Universal -->

I did a check for settings on the Mailerlite side from this article: https://www.mailerlite.com/help/how-to-troubleshoot-pop-up-forms 

Can you check code again? I tried testing on both Squarespace & WordPress but it shows nothing, maybe code is incorrect or missing something

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.