-
AuthorPosts
-
February 10, 2017 at 4:28 pm #745471
Hello,
I want to track how many of the people visiting my site, clicks on the “Send” button on my contact form. How do I do that? Usually you just put a html code google hands you out, and insert it on the page where you want the button to be tracked. But this is not possible on Enfold?
Please help, there must be a way to do it…
-
This topic was modified 8 years, 9 months ago by
NikoArq.
February 10, 2017 at 4:38 pm #745479.
-
This reply was modified 8 years, 9 months ago by
NikoArq.
February 15, 2017 at 7:27 am #747313Hi,
Glad you figured it out! and thank you for sharing the solution here. Yes adwords docs have most of the answers https://support.google.com/adwords/ :)
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
VinayFebruary 23, 2017 at 2:19 pm #750927Vinay,
I did not provide a solution to myself. My question was: How do I insert the code to a specific enfold page so I can track the button click conversion?
Regards,
Nikolai-
This reply was modified 8 years, 9 months ago by
NikoArq.
February 23, 2017 at 3:13 pm #750946.
-
This reply was modified 8 years, 9 months ago by
NikoArq.
February 28, 2017 at 12:57 pm #752896Hi,
Please refer to this post – http://kriesi.at/documentation/enfold/add-onclick-event-to-the-contact-form-submit-button/
To track forms on certain pages, please use the code as following
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){ if(is_page(59)){ $att = "onclick=\"_gaq.push(['_trackPageview', '/VP/XXX/XXX']);\""; } return $att; }and replace page ID (59) with your page’s ID
Best regards,
Yigit -
This topic was modified 8 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
