Help centerTracking
Events and forms
Send a custom event, mark fields, and attach a form to the visitor.
The script already covers pageviews. An event names an action: a CTA click, a form step, a video play.
Send an event
After the script has loaded:
<script>
cockpiitTrack("demo_click", { placement: "hero" });
</script>The name is yours. Keep properties short: they are for filters, not for storing a message.
Under Tracking, custom events can count as conversions. You then use them in funnels.
HTML forms
To attach a submit to the visitor, set:
data-ck-formon the<form>data-ck-fieldon a field you want to follow (field values are not stored in abandon analytics)data-ck-stepon a step, when the form has several screens
Cockpiit also detects native Webflow form submits. Field values do not go into form analytics: only opens, abandons, and structure. The content reaches leads if you use the ingest URL.
Hidden journey fields
If the form posts to the ingest URL, add _ck_vid and _ck_sid (ids the script already knows) so the lead sticks to its path. Without them the lead exists, and the journey may be missing.