• Resolved excentricjester

    (@excentricjester)


    After getting the same email multiple times I have discovered that when a form is using on_sent_ok in the Additional Settings tab the form will submit, but there is no success message.

    The validation and error message still work though.

    Has something changed in the plugin as this was previously working? The example in the docs is the same.

    Using CF7 4.6.1

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

    (@takayukister)

    How do you use the on_sent_ok setting?

    Thread Starter excentricjester

    (@excentricjester)

    on_sent_ok: "ga('send', 'event', 'store-contact-form', 'submit');"

    This site is using WooCommerce Google Analytics Pro to add the analytics code and I saw the same issue on another site using GA Google Analytics with universal analytics option.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    OK. Where can I see the site?

    Thread Starter excentricjester

    (@excentricjester)

    I just noticed a JS error in the console and updated the code to the below and that worked as expected.

    on_sent_ok: "__gaTracker('send', 'event', 'store-contact-form', 'submit');"

    Sorry, I was sure I checked it and it was using ga() in the analytics code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No success message when using on_sent_ok’ is closed to new replies.