News:

AbanteCart v1.4.2.1 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

How to Create Newsletter Signup Popup

Started by Kristi Stoll, March 26, 2020, 06:56:27 PM

Previous topic - Next topic

Kristi Stoll

Hi,

I am trying to create a newsletter signup popup from my newsletter server Mailerlite. I created the code within their website and then created a html block with the code. I then added the html block up at the top like I did with Facebook Pixel Code...but it doesn't work. I'm not very experienced with Abantecart, nor programming. This is the code I used:

<!-- MailerLite Universal -->
<script>
(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);}
f.q=f.q||[];m[e]=m[e]||f.bind(f.q);m[e].q=m[e].q||f.q;r=a.createElement(i);
var _=a.getElementsByTagName(i)[0];r.async=1;r.src=l+'?v'+(~~(new Date().getTime()/1000000));
_.parentNode.insertBefore(r,_);})(window, document, 'script', 'https: // static dot mailerlite dot com /js/universal.js', 'ml');

var ml_account = ml('accounts', '1473786', 'd8y3v7e3m6', 'load');
</script>
<!-- End MailerLite Universal -->

NOTE: HAD TO PLACE "dot" IN PLACE OF PERIODS TO POST IN 4TH TO LAST LINE
Can anyone give me some good instructions for what I would need to do?
Thanks so much!!
Kristi

HADY

Hi!
Good Point...

Am Following This Post...

Forum Rules Code of conduct
AbanteCart.com 2010 -