[Resolved] Add Mailchimp popup js to GP Hooks

Home Forums Support [Resolved] Add Mailchimp popup js to GP Hooks

Home Forums Support Add Mailchimp popup js to GP Hooks

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #565314
    CAP

    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

    #565575
    Leo
    Staff
    Customer Support

    Glad you figured out!

    Sounds like it was a caching issue.

    wp_footer is the correct place.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.