Jump to content

Mailerlite pop up works on back end and mobile but not on front end desktop?

Recommended Posts

Site URL: https://www.angharadthompsonrees.com/-she-dreams-in-every-colour-collection

Hi there,

For some reason my MailerLite pop up on image has suddenly stopped working on the front end of desktop. It still works on mobile?

I've fashioned a sign up button as the click through image that worked fine, but it's suddenly stopped working on desktop version only.

It still works when testing on the back end in the "code injection" page, but not on the live version. 

I wondered if anyone else experienced this and found a solution?

Many thanks, 



Edited by ARees
Link to comment
  • ARees changed the title to Mailerlite pop up works on back end and mobile but not on front end desktop?

Hi there,

This is in the header code injecter:

<!-- MailerLite Universal -->
(function(m,a,i,l,e,r){ m['MailerLiteObject']=e;function f(){
var c={ a:arguments,q:[]};var r=this.push(c);return "number"!=typeof r?r:f.bind(c.q);}
var _=a.getElementsByTagName(i)[0];r.async=1;r.src=l+'?v'+(~~(new Date().getTime()/1000000));
_.parentNode.insertBefore(r,_);})(window, document, 'script', 'https://static.mailerlite.com/js/universal.js', 'ml');

var ml_account = ml('accounts', '1705112', 'w0r0e4l1g3', 'load');
<!-- End MailerLite Universal -->


And the code for the 'pop cup on image clicks is'

<a href="javascript:;" onclick="ml_account('webforms', '5680113', 'r5m6c8', 'show')">
  <img src="https://static1.squarespace.com/static/61db98e06c746930c1305678/t/62846e674a0177118735f8ee/1652846183992/Screen+Shot+2022-05-18+at+1.55.52+pm.png"/>

It's strange how it still works on mobile device and not desktop?

Can you see something I've done wrong here?


HUGE thanks!


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.