Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #836889

    Can any one help with this? All i want to do is set a goal to a submit button from the form and yet i still cant get it to work?
    I have added this to the functions changing the UA 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’, ‘MYCODEHERE’]);\””;
    return $att;
    }

    Does any of the code need changing above or just the code?

    In the goal we can edit the following
    Category:
    Action:
    Label:
    Value:

    Previously iv been told to add
    “Label: “”
    Value: “Submit” ”

    Value inside Goal Only Allows A Number NOT a Word. is this the old system using a word inside a value?

    If any one can help me with this id much appreciate it iv bought this theme a few times but now need to understand this myself. At this stage all i want it to pick up is a click?

    Can any one please help or is there a tutorial i could look at

    #838870

    Hey Dave,

    Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

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