July 10, 2014 at 10:57 am #289407
I made an awesome website with this great theme. Now I want to implement Google Analytics within the contact forms. I want to use Event Tracking to check the conversion of my contact forms. I’d like to use this code:
onsubmit=”_gaq.push([‘_trackEvent’,’form’,’submitted’,’testform’])”to track the form submissions. I know it’s possible to use it in a simple HTML-form, but I’d love to use it in your beautiful contact form, but the problem is that the contact forms that come with the theme are shortcode-based. Can you help me with this?
Thank you in advance.
Kind regards.July 10, 2014 at 2:10 pm #289491
DevinJuly 10, 2014 at 2:36 pm #289510
And DO have a look at http://wpflow.com/
This is an awesome plugin to make life with GA events so much easier!
BTW, one feature suggestion for Kriesi:
It would be nice if you were able to define id’s for elements (e.g. buttons) just like you can for color-sections. Otherwise ID’s keep changing with every new elements on the page.
FrankJuly 10, 2014 at 4:56 pm #289596July 11, 2014 at 4:33 pm #290167
Thanks you so much for your reply! I got the Google Analytics Event Tracking working after using your PHP-snippet. But on my website I got multiple forms, and I’d like to track the submission for each form separately. So I can see how much each form is submitted, not how much all the forms together are submitted. Is that possible? If yes, can you tell me how? Thanks in advance!
Kind regards.July 12, 2014 at 5:01 pm #290538
Since Enfold 2.8 you can set a different landing page for each contact form ( http://www.clipular.com/c/4854676969226240.png?k=yhHlXU7OAUFK-TEGutosK2Mns6c ). If you set a different page for each form you should be able to track the submissions by checking the number of page views of each landing page.
You must be logged in to reply to this topic.