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

    Hi,

    I’m using the newsletter signup with mailchimp integrated with Enfold. Works like a charm! After signup I display the success message onpage instead of sending to an ThankYou-page.
    I want to measure conversion (signups). I can do that with google analytics (goal conversion) or with adwords (add a pixel af successful signup). Is there any way with Enfold I can trigger an event, or add a scipt after successful signup when displaying the thanyou-message on the same page?
    Otherwise, I have to redirect to a thankyou-page of course.

    Thanks.

    #590635

    Hi biekhois!

    Sorry for the delay.
    We are working on your ticket please wait while we update the results here soon.

    This is out of our support scope but we like to help you achieve what you are trying to do.

    Please use the below jQuery in functions.php

    //Run custom script if button is clicked
    function run_custom_script(){
    ?>
    <script>
    jQuery(document).ready(function () {
    	jQuery('.button').on('click', function() {
    		 console.log(' RUN SCRIPT ');  
    	});
    });  
    </script>
    <?php
    }
    add_action('wp_head', 'run_custom_script');

    Add your custom jQuery after the line console.log(‘ RUN SCRIPT ‘);

    Cheers!
    Vinay Kashyap

    • This reply was modified 8 years, 5 months ago by Vinay.
    #1215330

    I have the same issue, but I don’t really understand what kind of custom jQuery I should add as Vinay proposes (no experience with that). what would make sense to place? i configured tag manager with the category ‘clicks’ , then an event name such as ‘mailchimp-signup’ would make sense?

    #1216135

    Hi the_digital_manager,

    You need to check Mailchimp docs for the JavaScript that is used to track submissions.

    Best regards,
    Victoria

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