Support » Plugin: Contact Form 7 » Problem with Analytics submit count

  • Hello:

    We have a problem with CF7 plugin since I update it from version 4.8 to 4.8.1

    With version 4.8, email received message count matched with Google Analytics count (using Analytics tracking code and CF7 ” event). But since the update to 4.8.1 the email received messages count is always greater than Analytics count (i.e. today we received 9 email messages via all forms in our website (7 contact forms)), but Analytics report shows only 4 messages).

    This is our code (nothing has changed before CF7 4.8 nor 4.8.1):

    add_action( 'wp_footer', 'googleCF7' );
    function googleCF7() {
    <script type="text/javascript">
    document.addEventListener( 'wpcf7mailsent', function( event ) {
    //    ga( 'send', 'event', 'Contact Form', 'submit' );
    	var google_conversion_id = 985606337;
    	var google_conversion_language = "en";
    	var google_conversion_format = "3";
    	var google_conversion_color = "ffffff";
    	var google_conversion_label = "Uyv6CO_tyXAQwdH81QM";
    	var google_remarketing_only = false;
    	document.write('<script type="text/javascript" src="//">');
    	// Redirección
    	location.href = '';
    }, false );

    What could be the problem with this?

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem with Analytics submit count’ is closed to new replies.