Support » Plugin: Contact Form 7 » Google Analytics: How to find out if that name of my page tracker object is _gaq

  • I’m coming from here:
    http://contactform7.com/tracking-form-submissions-with-google-analytics/

    I’m interested in letting Google Analytics track my sent forms.
    How do I find out, if the name of my page tracker object is _gaq?
    How do I differentiate in Google Analytics report, which of my forms has gained success? Or different: Is it possible to track different forms and see the results differentiated in GA?

    In between I will setup the additional settings as stated in the topic (above link), because GA takes time to show results.

    on_sent_ok: "_gaq.push(['_trackEvent', 'Contact Form', 'Submit']);"

    I’m wondering, if this is what one has to do to differentiate one form from another:

    ‘Contact Form’ can be called ‘Kontaktformular mit weiteren Fragen’ (my name in german of that specific form i’d like to track)
    ‘Submit’ = ‘Senden’ (german translation of Submit)
    or does it have to stay, like shown in the to be pasted code example from the initial link above for every form existing on that wordpress installation?

    It would be like this:

    on_sent_ok: "_gaq.push(['_trackEvent', 'Kontaktformular mit weiteren Fragen', 'Senden']);"

    Would that be working?

    I’m sorry, if this has already been answered, it’s not easy to research the forums on wordpress.org for already answered questions. I’d be glad if you could point me to that topic or find a specific answer in this topic.

    Thank you.

    https://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    How do I find out, if the name of my page tracker object is _gaq?

    Look into the HTML source of the front page on your site and find the GA’s code snippet. If there is a line like _gaq.push(['_trackPageview']);, the tracker object is _gaq.

    on_sent_ok: "_gaq.push(['_trackEvent', 'Kontaktformular mit weiteren Fragen', 'Senden']);"

    Would that be working?

    It should work if the object is _gaq.

Viewing 1 replies (of 1 total)
  • The topic ‘Google Analytics: How to find out if that name of my page tracker object is _gaq’ is closed to new replies.