Hi I need too track from submissions especially from the contacts page…
vetting-software.com
Thanks
I have added the code:
add_filter(‘avf_contact_form_submit_button_attr’,’avia_add_submit_attributes_to_cf’, 10, 3);
function avia_add_submit_attributes_to_cf($att, $formID, $form_params){
$att = “onclick=\”_gaq.push([‘_trackPageview’, ‘UA-86645876-1’]);\””;
return $att;
}
But it then appears in the top bar area of the site…
Hi,
Did you copy the code from the site: http://kriesi.at/documentation/enfold/add-onclick-event-to-the-contact-form-submit-button/ ? Can you try manually replacing the the single quotes ‘ and double quotes ” sometimes they cause some issues when copied and pasted. Hope this helps.
Best regards,
Nikko
Hi – yes I did at one stage – let me add again. See what happens.
Any issues I’ll shout – thanks.