Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #815084

    Hi Peeps,
    Has anyone got a guide to setting up a goal conversion to be picked up from the Enfold Contact form Submit button?
    What code if any do I need to add and in which file? is it functions? and what criteria do we need to use in Analytics please.

    I really need some help with setting this up…is there a step by step process some one can share? thx in advance

    Regards
    Dave

    #815253

    Hey Dave,

    What is the code that you need to use and where is it supposed to go?

    Best regards,
    Rikard

    #815777

    That’s my question!!! I want to be able to use google analytics goal tracking code (EVENT) when the contact form submit button has been pressed.

    https://support.google.com/analytics/answer/1012040?hl=en

    What do I have to add to your theme in order for it to track THE CONTACT FORM SUBMIT Button being pressed by the user

    #815851

    Hi,

    Please check our documentation: http://kriesi.at/documentation/enfold/add-onclick-event-to-the-contact-form-submit-button/
    Hope this helps.

    Best regards,
    Nikko

    #815887

    Thank you for your reply
    Can I also please ask regarding this 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’, ‘/VP/XXX/XXX’]);\””;
    return $att;
    }

    Is the “/VP/XXX/XXX” code above the Google Tracking ID UA-xxxxxxxx-x ?

    Also in Google Event Goal Details You Can specify the following
    Category: “Contact Form”
    Action: “”
    Label: “”
    Value: “”
    what values do i use from the form to fill in the event details above?

    Cheers for your assistance.

    • This reply was modified 7 years, 4 months ago by Dave.
    #816850

    Hi Can You help with the questions i have asked after the link you posted?

    #817098

    Hi,

    Yes, it’s the tracking code as mentioned in the documentation. As for other details:
    Action is the url in which your contact form is located so it’s something like: “http://domain.com/contact/”
    Label: “”
    Value: “Submit”

    Hope this helps.

    Best regards,
    Nikko

    #817157

    Many thanks for the reply, However Google analytics Goal Details allows a number for Value: not submit text. as i get “Please specify a valid integer as comparison value”.

    This is an Event condition in analytics and the enfold contact form is set to thank you message not thank you page.
    here is what i entered but doesn’t seem to work?

    Category: “Contact Form”
    Action: “url address”
    Label: “Submit”
    Value: “1”

    So I’m not sure how to get this to pickup the form a click.
    Have I missed a part out? or have entered the incorrect details?
    Any help on this will be much appreciated.

    #818640

    Hi this is a little confusing I still cant get the form button to be picked up from analytics can any one assist us in getting this to work please?

    #819013

    Hi,

    I followed the discussion and while Nikko tried to help as much as possible, I think you would need someone who knows exactly what and how they are doing it
    It is better to consider hire a freelancer to help you out, as your request is really specific and it would be better to get some reall help for it.

    Thank you for your understanding

    Best regards,
    Basilis

    #830443
    This reply has been marked as private.
    #832378

    Hi,

    Analytics will check the page name and they will do push that one.
    So it will be almost automatic for you,basicly based on the page that the form is.

    Best regards,
    Basilis

    #834496

    tks.

    Another question,

    How can I order by title?

    [av_productgrid categories='51' columns='4' items='-1' offset='0' sort='title' paginate='no']

    I have put this code and nothing happens.

    #835873

    Can any one else 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;
    }

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

    Above 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 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? do i have to edit the code inside the function i added or would i just add Submit inside Action or?

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

    #836671

    Hi,

    Please create different thickets for your questions – and we would appreciate not to use caps.

    Thank you

    Best regards,
    Basilis

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Contact Form Submit Button Google Analytics Goal Tracking’ is closed to new replies.