Forms are often the most important conversion point of a website. Whether newsletter, contact request, or lead gen – you want to know how often they are filled out.Documentation Index
Fetch the complete documentation index at: https://docs.bchic.de/llms.txt
Use this file to discover all available pages before exploring further.
Method 1: The “Thank You Page” (Recommended)
The most reliable way to measure a successful submission is redirection to a separate confirmation page (e.g.,/thank-you or /success).
Why is this better?
- You only measure real submissions (no validation errors).
- There are no technical issues with page reloading.
Setup Redirection
Configure your form plugin or CMS so that the user is redirected to
/thank-you after submission.Method 2: HTML Attributes (The Fast Way)
If you don’t have a thank you page or the form is sent via AJAX (without reloading), you can tag the submit element directly. Simply add thedata-bchic-event attribute to your submit button.
Method 3: JavaScript (Precise Control)
For full control (e.g., only track if validation was successful), use JavaScript.Form Data in Payload? (Privacy!)
You might want to know what was selected in the form (e.g., the subject of the request). This is possible, but you must be extremely careful.Rule: Never send data that could identify a user (email, name, phone, address). Limit yourself to generic selection fields (category, department, product interest).

