pageTracker._trackPageview(“/homepage/link1”);
and
You can use on_sent_ok action hook for that.
I have contact-form-7.2.0.zip
I do not understand how to modify the following code as above.
$on_sent_ok = $wpcf7_contact_form->additional_setting( 'on_sent_ok', false );
if ( ! empty( $on_sent_ok ) ) {
$on_sent_ok = array_map( 'wpcf7_strip_quote', $on_sent_ok );
} else {
$on_sent_ok = null;
}
$items['onSentOk'] = $on_sent_ok;
If this is generic to any form on my site, how can a specific page file name be used effectively here?