-
AuthorPosts
-
March 28, 2016 at 8:23 pm #604039
Hello,
I have a Mailchimp script that allows an automatic popup dialog form to appear for newsletter signups. Where would I embed that code? The code is listed in the Private Content box below for reference. Thank you!March 28, 2016 at 9:43 pm #604077Hey jgdoyle1!
Thanks for getting in touch with us!
Try using the code block content element in the Avia Page Builder.
Regards,
JordanMarch 28, 2016 at 9:46 pm #604080Thanks for your response. I tried using the code block at the top and bottom of the homepage and other pages and it didn’t work. Does it have to be embedded directly into the header or something? Thank you.
March 28, 2016 at 10:01 pm #604097Hi!
Please add following code to Functions.php file in Appearance > Editor
function custom_code_mc(){ ?> // YOUR CODE GOES HERE <?php } add_action('wp_footer', 'custom_code_mc');
Best regards,
YigitApril 25, 2016 at 11:21 am #621164Hi,
I am trying to place a mailchimp popup form on my site. I followed the instructions of this thread, but it’s not working (neither the code block, nor adding it to the functions.php).
Also, as we have 5 different languages we want to create a different popup on each language, which links to the different Mailchimp lists for each language.
Thank you,
JuliaApril 27, 2016 at 6:49 am #622764Hey!
Go to the Enfold > Theme Options then look for the Google Analytics Tracking Code field. Add the popup script there:
<script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">require(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us8.list-manage.com","uuid":"4323ff06c3090af0f33f0d870","lid":"2e39ecfe0d"}) })</script>
It should work after that.
Best regards,
IsmaelMay 2, 2016 at 10:50 am #625621Hi Ismael,
thank you for your reply. We pasted the code in the GA tracking field, but it does not work. The pop up doesn’t show.Any other ideas?
Thanks,
JuliaMay 3, 2016 at 4:15 pm #626583Hi,
We are working on your ticket please wait while we update the results here soon.We removed the code from the code block on the homepage and added it in functions.php so the code will be in the head section. To confirm the same please right click and view source the code is loading correctly now. However I didn’t see any popup not sure if the code is correctly working.
As an alternate solution to build your email list you could also use list builder https://www.mailmunch.co/ or check out plugins which work with mail chimp https://wordpress.org/plugins/search.php?type=term&q=popup+newsletter
Best regards,
Vinnie- This reply was modified 8 years, 6 months ago by Vinay.
October 25, 2016 at 9:42 pm #703985Hi there,
Great thread. I’ve copied and pasted my mail chimp pop up code into the functions.php file but nothing seems to be happening. Can a moderator check my work to troubleshoot?October 31, 2016 at 12:52 pm #706107Hi,
It’s not clear what your trying to do and after checking your site I could not find the mailchimp section.
Please create a new thread and Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)Best regards,
VinayJanuary 17, 2017 at 12:21 pm #734664Hi guys,
all these solutions doesn’t work for me. This is my code:
<script type=”text/javascript” src=”//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js” data-dojo-config=”usePlainJson: true, isDebug: false”></script><script type=”text/javascript”>require([“mojo/signup-forms/Loader”], function(L) { L.start({“baseUrl”:”mc.us3.list-manage.com”,”uuid”:”d5b3425b350d1ef6fe0f642d1″,”lid”:”9285fb910b”}) })</script>
When i have the previous theme I pasted into the footer and it worked but now nothing. How can I solve it?
Best regards,
MariaJanuary 19, 2017 at 8:44 pm #736079 -
AuthorPosts
- You must be logged in to reply to this topic.