Tagged: event tracking, form, google analytics
-
AuthorPosts
-
October 15, 2017 at 9:38 pm #864557
Hi,
I am looking into http://kriesi.at/documentation/enfold/add-onclick-event-to-the-contact-form-submit-button/
Where can I find information on the form parameters mentioned in the article?
I would like to use them to pass more information in the event tracking, to specify which form is used etc.
Thanks in advance,
SaraOctober 15, 2017 at 10:37 pm #864580Hey Sara,
Perhaps this will help: https://developers.google.com/analytics/devguides/collection/analyticsjs/eventsBest regards,
MikeOctober 16, 2017 at 10:26 am #864731Thank you, I have seen this.
My question was about what form parameters are available to add in the event tracking. So what’s in the $form_params in the code snippet on your faq site http://kriesi.at/documentation/enfold/add-onclick-event-to-the-contact-form-submit-button/
Sara
October 18, 2017 at 9:20 am #865583Hey!
The “$form_params” refers to the options set in the contact form. It should return something like the following.
array (size=17) 'heading' => string '<h3>Send us mail</h3>' (length=21) 'success' => string '<h3 class='avia-form-success'>Your message has been sent!</h3>' (length=62) 'submit' => string 'Submit' (length=6) 'myemail' => string 'Email Address' (length=19) 'action' => string 'http://localhost/kriesi/enfold/test-page/' (length=41) 'myblogname' => string 'Enfold' (length=6) 'autoresponder' => string '' (length=0) 'autoresponder_subject' => string 'Thank you for your Message!' (length=27) 'autoresponder_email' => string 'Email Address' (length=19) 'subject' => string '' (length=0) 'form_class' => string ' avia-builder-el-0 el_before_av_one_half avia-builder-el-first ' (length=67) 'multiform' => boolean true 'label_first' => boolean true 'redirect' => string '' (length=0) 'placeholder' => string '' (length=0) 'numeric_names' => boolean true 'avia_formID' => int 1Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.
