• Hi there,

    On the homepage of the cookery theme, there are multiple ways of including a newsletter:
    – a newsletter banner (uses shortcode – working)
    – a newsletter section (uses widget – not working)
    – a footer newsletter section (uses shortcode – working)

    In both the newsletter banner and the footer newsletter section we have to paste a shortcode, and the subscription works. Whereas in the newsletter section we have to insert a blossomthemes email newsletter widget. The widget no longer registers the subscriptions to mailchimp and also doesn’t send to the confirmation page (if set).

    I also tried to place the blossomthemes email newsletter widget in the sidebar and the same issue is present.

    So there is definitely a problem with the widget. Could you please look into it?

    Looking forward to your prompt response.

    All the best.

    UPDATE: I have tried adding a Text Widget in the newsletter section with the shortcode for the newsletter and it works fine (aside from the missing styling). So definitely a problem with the widget

    • This topic was modified 1 year, 5 months ago by predajob.
    • This topic was modified 1 year, 5 months ago by predajob. Reason: Tested a temporary solution that worked

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @predajob,

    I checked your site. You have enabled the Name and Email fields. In your newsletter platform settings, please make sure you have enabled the same fields.

    If there are differences in the fields enabled on the site and your email platform, the subscriber information will not sync.

    Here’s a guide for MailChimp – https://duckduckchimp.com/how-to-use-merge-tags-in-mailchimp. Under Audience fields and |MERGE| tags, make sure you have checked only the Email Address and First Name fields.

    Please try out this solution and let us know if it works or not.

    Thank you.

    Thread Starter predajob

    (@predajob)

    Hi Nabin, thank you for getting back to me! If you just checked my website, i spend the whole afternoon yesterday trying to find a workaround.

    I am 100% sure there is a problem with the widget. As described, I don’t have the problem with shortcodes, which is the solution I implemented yesterday… I am just letting you know your widget needs to be fixed.

    As for your recommendation, I don’t have an issue with the fields, the info (name and email) register correctly when i am using shortcodes, it doesn’t register at all when i am using the widget (on the same Newsletter with same ID).

    Hi @predajob,

    Thank you for the details. I tried subscribing from 3 places on your homepage, and it redirected after I added the information. I didn’t get the confirmation email from either of those.

    Further, I recommend using different newsletter forms for different places to avoid ID conflict.

    I checked and found that the widget is not working as expected. I have informed the dev team to look into this issue.

    While the issue is fixed, I recommend you remove the widget from the sidebar. It will take some time to debug the issue and release an update.

    If you have any further questions, you can also directly reach out to the support team directly from the website.

    Thank you.

    Thread Starter predajob

    (@predajob)

    I haven’t set up the confirmation email yet. But I see your subscription on mailchimp.

    I am indeed using different forms with different IDs.

    That sidebar widget is a mystery to me, I have removed it and replaced it with text widget with shortcode but it still shows the newsletter widget that’s not working.

    Okay, glad you noticed the bug as well, looking forward to your update whenever it happens.

    Thabk yyou for being reactive.

    Hey, yesterday I just launched websites https://rcpifpaf.cz/ with email newsletter widget and in my case it’s not working when in sidebar and in footer. Only place where it’s working correctly is when I enable newsletter in Appearance ->Adjust -> Basic Settings ->Newsletter settings.

    For each section I have newsletter with different id. To make sure it’s all set up correctly I tried to use the working one on different places (enabled one at time only) and result was same.

    To check what’s going on I used Inspect tool and find out, that in those two not working cases there seems to be some problem in JS (not sure if related).

    Error description: Uncaught TypeError: $ is not a function

    -- error appears on first line
    $(document).ready(function() {
                                        $(document).on("submit", "form#blossomthemes-email-newsletter-848", function(e) {
                                            e.preventDefault();
                                            $(".subscribe-submit-848").attr("disabled", "disabled");
                                            var email = $(".subscribe-email-848").val();
                                            var fname = $(".subscribe-fname-848").val();
                                            var sid = 848;
                                            var nonce = $("#bten_subscription_nonce_848").val();
                                            $.ajax({
                                                type: "post",
                                                dataType: "json",
                                                url: bten_ajax_data.ajaxurl,
                                                data: {
                                                    action: "subscription_response",
                                                    email: email,
                                                    fname: fname,
                                                    sid: sid,
                                                    nonce: nonce
                                                },
                                                beforeSend: function() {
                                                    $("#loader-848").fadeIn(500)
                                                },
                                                success: function(response) {
                                                    $(".subscribe-submit-848").attr("disabled", "disabled");
                                                    if (response.type === "success") {
                                                        $("#bten-response-848 span").html(response.message);
                                                        $("#bten-response-848").fadeIn("slow").delay("3000").fadeOut("3000", function() {
                                                            $(".subscribe-submit-848").removeAttr("disabled", "disabled");
                                                            $("form#blossomthemes-email-newsletter-848").find("input[type=text]").val("")
                                                        })
                                                    } else {
                                                        $("#bten-response-848 span").html(response.message);
                                                        $("#bten-response-848").fadeIn("slow").delay("3000").fadeOut("3000", function() {
                                                            $(".subscribe-submit-848").removeAttr("disabled", "disabled");
                                                            $("form#blossomthemes-email-newsletter-848").find("input[type=text]").val("")
                                                        })
                                                    }
                                                },
                                                complete: function() {
                                                    $("#loader-848").fadeOut(500)
                                                }
                                            })
                                        })
                                    });
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email Newsletter Widget not collecting emails with mailchimp’ is closed to new replies.