Mailchimp newsletter popup

Posted in: Newspaper
Post count: 32

I want to try a newsletter popup on exit. The code is below. I was going to put this in custom js on the theme panel – but that requests to leave out <script> and I am worried this will break the code. Where should I add this?

<script type=”text/javascript” src=”//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js” data-dojo-config=”usePlainJson: true, isDebug: false”></script><script type=”text/javascript”>window.dojoRequire([“mojo/signup-forms/Loader”], function(L) { L.start({“baseUrl”:”mc.us9.list-manage.com”,”uuid”:”6378530ea3dde9537bada99f7″,”lid”:”a63cca1cc5″,”uniqueMethods”:true}) })</script>

Post count: 35449

Hi,

You can set the above code in Newspaper>Theme panel>Analytics/JS code -> https://www.screencast.com/t/aKwCVqczhMcC

Hope that this will help you!
Thanks.

Post count: 32

BUT that section request that I leave out the script tags – this is my question? How should I reformat the code or does it not matter??

  • This reply was modified 7 years by emmak.
Post count: 35449

Hi,

That section from Analytics/JS codes requier the script tags ( ” Please include the <script> </script> tags.” ) -> https://www.screencast.com/t/aKwCVqczhMcC
You can set the code there!

Thank you for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.