Last updated 26 November 2026. By Paul Badarau.
A fictional wedding photographer counted clicks on the enquiry form's Send button and saw 52 in October. The inbox held 31 enquiries. The other clicks were forms that failed validation, double clicks and submissions the spam filter rejected. In November the photographer switched to a page goal on /thanks/enquiry. The goal counted 27, and the inbox held 27 enquiries.
A click on Submit fires before the browser checks the fields and before the server answers, so it counts attempts. Fire the goal at the point where you know the submission worked. That point depends on how the form sends:
- The form redirects to a thank-you page when it succeeds. Add a page goal for that exact path. It needs no code and never adds a pageview. Give each form its own path, such as
/thanks/enquiryand/thanks/newsletter, because PostDeploy strips query strings and/thanks?form=enquirywould count as/thanks. - The form sends with JavaScript and shows a message in place. Ask an Owner or Administrator to add a named event goal, such as
enquiry_sent, and call it only after a successful reply:if (response.ok) window.postdeploy?.track('enquiry_sent'); - The form is embedded from a form service. Your page cannot see inside it, so set the service to redirect to a thank-you page on your site after a successful submission, then use a page goal for that page.
The goal sends nothing the visitor typed. An event carries only the goal name, an optional revenue value and the page it happened on, so names, emails and messages stay out of your analytics.
A thank-you page goal has its own weak spot. Completion counts include repeats, so a visitor who reloads /thanks/enquiry or returns to it from a bookmark completes the goal again. Known bots are excluded by default, but a person who opens the address directly still counts. The conversion rate is steadier, because it divides visitor-days that completed the goal by all visitor-days. Use the rate to judge the form, and check the completion count against your inbox now and then.
The product page for this is Analytics.