Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Haktan Suren

    (@haktansuren)

    Hi @toddedelman ,

    Can you try form wrappers instead…

    [handl_ref_i]<input type="hidden" name="handl_ref" value="%s" />[/handl_ref_i]
    [handl_url_i]<input type="hidden" name="handl_url" value="%s" />[/handl_url_i]

    Also take a look at it here, it is explained there https://www.haktansuren.com/handl-utm-grabber/

    • This reply was modified 4 years, 7 months ago by Haktan Suren.
    Thread Starter 972 creative

    (@toddedelman)

    Hi @haktansuren

    Unfortunately, your suggestion didn’t work.

    We were able to add the following code to the functions.php to get the data to record:

    <?php
    }
    
    add_filter( 'wpcf7_special_mail_tags', 'your_special_mail_tag', 10, 3 );
    
    function your_special_mail_tag( $output, $name, $html ) {
    	if ( 'handl_url' == $name )
    		
    		$output .= do_shortcode( '[handl_ref]' );
    	return $output;
    }
    
    add_filter( 'wpcf7_special_mail_tags', 'your_special_mail_tag2', 10, 3 );
    
    function your_special_mail_tag2( $output, $name, $html ) {
    	if ( 'handl_original_ref' == $name )
    		
    		$output .= do_shortcode( '[handl_original_ref]' );
    	return $output;
    }

    We’re now trying to follow your instructions at https://www.haktansuren.com/zapier-for-contact-form-7-utms-lead-tracking-step-by-step/ to push this data to Zapier, but, these fields for [handl_url] and [handl_original_ref] are not passing through. Screenshot from Zapier – https://prnt.sc/u5uin5.

    It’s critical we get [handl_url] and [handl_original_ref] to pass to Zapier. What are we doing wrong? Why isn’t this working?

    Thanks,
    Todd

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘handl_url & handl_ref are not working’ is closed to new replies.