Support » Plugin: Contact Form 7 » GA Event Tracking doesn't work

  • Hi,

    we’re trying to implement Google Analytics tracking for the Contact Forms on our website, but it doesn’t work.

    We already tried those codes:

    on_sent_ok: “_gaq.push([‘_trackEvent’, ‘Contact’, ‘Lead’, ‘Contact Form’]);”
    on_sent_ok: “_gaq.push([‘_trackPageview’, ‘/kontakt/danke/’]);”

    And the GA code: (with ID changed)

    <script type=”text/javascript”>

    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘XX-XXXXXXX-X’]);

    (function() {
    var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);


    The goals ar set up properly. We don’t know what to do to get it working…

    Can anyone help us?

    Thank you so much,
    Sinan Saglam

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘GA Event Tracking doesn't work’ is closed to new replies.