Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #48800
    pnstlion
    Member

    I have tried adding the following mailchimp pop-up signup form code to many areas of my site, dailyfantasysportspicks.com, but am still unable to get it to work.

    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.us9.list-manage.com","uuid":"11fd044ee7ad7961dfb56746a","lid":"270d56e3d4"}) })</script>

    Any thoughts?

    #48805
    Sakin
    Keymaster

    @pnstlion: Where did you get that code from. I don’t get anything from that code. Also when you add this type of code in your page/post, you need to embed it in text mode. See this screenshot http://www.pinterest.com/pin/548594798332210926/

    #48810
    pnstlion
    Member

    Thanks for the quick response. That’s the code that mailchimp provided me for its pop up. I’ve already tried adding the code to:

    – Custom CSS area in Theme options
    – Pages (in text mode, of course)
    – Posts (in text mode)
    – Widget in several sections
    – php files (in editor)

    None of those have been successful.

    #48858
    Sakin
    Keymaster

    @pnstlion: I added that code in normal .html file to check in. It’s not working. It’s not the issue of Theme. It will not work in any theme. So, can you re-check the code with mailchip. Get the full code with instruction then I can help you. Usually the code should work in text mode.

    #48905
    pnstlion
    Member

    I copied and pasted the code above and I just confirmed that it is correct. Sadly, what I posted is the full code.

    Mailchimp doesn’t provide very good support. Here are their only instructions for this:

    “Copy the form code from the pop-up modal, and add the code to your site’s HTML. The best place to add the code varies from site to site, so reach out to a developer if you’re uncomfortable with modifying your site’s code.”

    (from: http://kb.mailchimp.com/lists/signup-forms/add-a-pop-up-form-to-your-website)

    #48935
    Sakin
    Keymaster

    @pnstlion: I am not sure about the MailChip and I haven’t used it. I found this plugin http://wordpress.org/plugins/mailchimp . Maybe this will hep you add in.

    #53001
    L
    Member

    @pnstlion: I feel your pain here – I, too, am trying to use MailChimp’s popup subscriber form and found the same set of instructions. I THINK the code should go somewhere in functions.php, header.php, or index.php – but not sure where, exactly. That’s beyond my expertise!

    @Sakin – Does that make anything clearer? This is a popup signup form and wouldn’t get dumped into a page, I don’t think. The plugin you suggest is for adding a form to a sidebar or embedding within a page which isn’t what we were aiming for exactly.

    If anyone can clarify this, I’d be very grateful.

    Thanks!

    #53031
    Sakin
    Keymaster

    @L: So where do you exactly want to add in and also please send me your code via https://gist.github.com/ . You can paste your code there and add URL there. Then I will try to find out the best possible solution

    #53051
    L
    Member

    I’ve found the answer!

    The code goes in the following file:

    wp-content -> [your theme folder name] – index.php

    Enter it below the existing .php code

    Hope this helps,

    Lisa

    #87000

    hi Finally – a help site that is addressing this Mailchimp popup. I clicked the “Publish” button in my Mailchimp account and published the Subscriber popup box without my knowledge. I do not want this popup box – I want to disable it but Mailchimp automatically inserted the code into my website somewhere and now I cannot locate it. I read elsewhere that it could be in functions.php/header.php/index.php but I do not see how I can access these files. I am using WordPress and a childtheme from Studiopress. In my dashboard, I can access only certain files through Appearance->Editor. I am afraid that I may need to access these files through my cPanel. Am I about to make a fatal error? How can I disable this popup. That’s all i want to do and it’s been driving me nuts for the last day. Here 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.us12.list-manage.com","uuid":"998c484383aee423b3e3d9616","lid":"588959030e"}) })</script>

    Any help is appreciated. Thanks!

    #87032
    Sakin
    Keymaster

    Hello Lisa,

    You shouldn’t edit the theme file directly like that. As these edits will be reverted back to original when you update the theme.

    So, if you want to edit any files then build child theme and edit it. But if you just want to add Script in Header/Footer then you can simply use our Catch Web Tools plugin http://wordpress.org/plugins/catch-web-tools, activate Webmaster Tools to add scrit.

    Regards,
    Sakin

    #87033
    Sakin
    Keymaster

    @EmboldenAdventures: Mailchip will not add code in the theme. If you have added it manually then it can be there otherwise, you need to check in your Mailchimp plugin to find out. The best solution will be to check out with Mailchip plugin support.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Adding mailchimp pop-up signup form’ is closed to new replies.