Site logo

Archived topic

Add Mailchimp popup js to GP Hooks

1 reply · Started by CAP on May 2, 2018

Viewing posts 1–2 of 2

I'm just starting with GP (moving from Headway theme) and I'm trying to add a Mailchimp subscribe popup.

I copied the js code ...
<script type="text/javascript" src="//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.us4.list-manage.com","uuid":"b8a8a675fc3c8c08286c7e4ee","lid":"c0ab3970f9"}) })</script>
... generated by Mailchimp into the WP_head GP hooks (saved) but I can't see any popup. The popup should appear after 5 seconds.

Mailchimp js popup

I tried adding it to WP_footer also. I'm using GP premium 2.02 (but the premium is listed as 1.62?)

update: I was viewing in private browsing mode, working now.

Any clue as to what I'm doing wrong? Thx

Glad you figured out!

Sounds like it was a caching issue.

wp_footer is the correct place.

This archived topic is closed to new replies.