Öffentliche CodeCanyon-Diskussion · WP Cost Estimation & Payment Forms Builder
Frage von mgeorgiou
1 direkte Autorenwort in diesem öffentlichen CodeCanyon-Gespräch.
Hi, I need to track the successful submissions in analytics. To be more clear, at the last step, I have "Get my estimation" button which is the final step with user's details. I have setup a click event for that. But the issue I have is, when the users click get my estimation button without even filling up the form. It does gives error to fill up the form but still the click event is triggered. Is it possible to trigger event only when the it is successfully submitted. For example, for contact form 7, it passes a value "cf7submit" only when it is successfully submitted so I can track when its successfully submitted. Thanks!
Hello, To do that, you need to add a final redirection to a custom page, and place the success event tracking code directly in this page.