Archived topic
Mailchimp pop up form doesn't work on my gp site
4 replies · Started by Katharina on April 7, 2020
Hi,
I want to embed a mailchimp pop up form into my site but always get the following error message:
Aktualisierung fehlgeschlagen. Die Antwort ist keine gültige JSON-Antwort.
Here is the code. It works on my other websites. I've been trying to add it via code and html, but I always get the same error message that it's not a valuable JSON-response...????
<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.us7.list-manage.com","uuid":"81fa6aa5b7c6792d03ed8d0a2","lid":"018866e55c","uniqueMethods":true}) })</script>
Warm regards,
Katharina
Hi there,
Can you try adding that in wp_footer hook using a hook element?
https://docs.generatepress.com/article/hooks-element-overview/
I've tried as you said, didn't get an error message this time, but still no pop up...
Do I have to choose execute shortcode, right?
Now I tried with the php and it works now, thanks.
No problem :)