Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #600543

    Hi,

    I have contact form in my website sidebar. http://goads.hr/internet-marketing-konzalting/
    Form is placed inside widget, and its the same for all pages…here is the code.

    [av_contact (Email address hidden if logged out) ' title='Send us mail' button='Submit' on_send='' sent='Your message has been sent!' link='manually,http://' subject='' autorespond='' captcha='' form_align='' color='']
    [av_contact_field label='Name' type='text' options='' multi_select='' check='is_empty' width=''][/av_contact_field]
    [/av_contact]

    How can I add the following code into my Submit button to track form sub missions:
    onClick=”ga(‘send’, ‘event’, { eventCategory: ‘Kontakt’, eventAction: ‘Upit ‘, eventLabel: ‘Kontakt forma’});”

    #600571

    Hey goads!

    Please take a look at the following, which will help you understand the process

    let us know if you have more questions

    Best regards,
    Basilis

    #600594

    My website stopped working after I have implemented this.

    This is the error:

    Parse error: syntax error, unexpected ‘ga’ (T_STRING) in /home/goadshr/public_html/wp-content/themes/enfold/functions.php on line 59

    #601034

    Hi,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.