Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #797826

    We’re using this element, and it works correctly, however, there are a few problems I see with the request/response.

    First, the response that is being returned seems to be the entire page (the same page that you are submitting the form from) instead of just a JSON response. This has a few problems, but one, it makes it nearly impossible to tie into an XHR listener and then filter on the ajaxSuccess of the Mailchimp Ajax form based on the response message (this is a solution we use with success on other sites that have ajax forms using Google Tag Manager).

    Now obviously I could tie into the button click, but that’s not going to be very accurate “success” measurement in GA…for example, if they click the submit button, have incorrect information, and then abandon the form…or if they click the button, have incorrect info, correct the info and click again.

    Do you guys have a callback for that form that is fired that is able to be tied into? That would be a nice solution.

    #799197

    Hey toddjboyles,

    Thank you for your post.
    Please give us some time, I have asked our main developer to take a look into it and if it works to update you here
    Please also take a look at our library: https://github.com/KriesiMedia/enfold-library/

    Best regards,
    Basilis

    #799929

    Basills,

    Yes…please let us know as this would be a crucial element to have to track newsletter signups as a goal in Google Analytics.

    #800632

    Hi,

    From what checked we do not have a filter or a hook for that right now
    Although based on the requests, there might be a chance that we might consider it.

    I the mean time, if it is something you really need it, consdier to move the shortcode of the newsletter to your child theme and modify it from there.

    Thank u

    Best regards,
    Basilis

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