Support » Plugin: WordPress Landing Pages » Conflict with Contact Form 7

  • Alex P

    (@alepontegmailcom)


    I have a problem using this plugin together with Contact Form 7.
    It does not execute my custom code on the submit form, where is my analytics tracking.
    Without Landing Pages, the code is executed with no problems.
    Is there a way to track the conversion with an analytics directly in Landing Pages?

    http://wordpress.org/extend/plugins/landing-pages/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author David Wells

    (@davidwells)

    Hey Alex,

    What special analytics tracking javascript are you using?

    Alex P

    (@alepontegmailcom)

    I’m using Google Analytics, but it simply does not trigger the event I set on Contact Form 7. Even an alert() isn’t triggered.
    I’ve tried removing Landing Page and the event is triggered correctly, so it is a conflict between Landing Page and Contact Form 7 plugins.

    Plugin Author David Wells

    (@davidwells)

    We are unbinding events to track the form conversions.

    Can you post the tracking code you are using?

    Alex P

    (@alepontegmailcom)

    The tracking code is:
    on_sent_ok: "_gaq.push(['_trackEvent', 'Sfratto', 'Submit']);"

    The problem is that it does not exeute any cody at the on_sent_ok event in Contact Form 7.

    Alex P

    (@alepontegmailcom)

    Maybe it is due to form standardization? If I enable form standardization, the on_sent_ok event is not triggered.
    Disabling form standardization, I get the following js error:

    Uncaught TypeError: Property ‘submit’ of object #<HTMLFormElement> is not a function

    Plugin Author David Wells

    (@davidwells)

    Hey Alex,

    Not sure why the event isn’t firing. But I want to build in the google analytics custom event tracking into landing pages anyway.

    Can you give me more information on what Sfratto and the submit values are in your tracking code above?

    on_sent_ok: “_gaq.push([‘_trackEvent’, ‘Sfratto’, ‘Submit’]);”

    Trying to figure out what settings we need to give users from the google analytics dev docs https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

    Thanks!

    Alex P

    (@alepontegmailcom)

    Hello,
    I’m using ‘category’ and ‘action’ parameters (“sfratto” and “submit”) in the trackEvent code.
    I guess my problem is related to form standardization, but I cannot make my form working without it and cannot track with it…
    Any idea about what can I do?
    Thanks a lot

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conflict with Contact Form 7’ is closed to new replies.