Skip to content

Send custom events

View as Markdown

There are no goals to set up. An event shows with its properties when it arrives.

window.checkend('Signup', { props: { plan: 'pro' } });

To send events before the script loads, add this before the first call:

<script>
window.checkend = window.checkend || function () { (window.checkend.q = window.checkend.q || []).push(arguments) };
</script>
<button data-ck="Signup" data-ck-plan="pro">Sign up</button>

A click sends the event Signup with the property plan.

Item Limit
Event name 120 bytes
Properties in one event 30
Property name 300 bytes
Property value 2,000 bytes

Checkend stores each value as text.

Checkend finds three types of name problem:

  • Duplicate: two names for the same event.
  • Wrong site: the name starts with the name of one of your other sites.
  • Style: the names do not use one style.

You can merge, rename or hide a name on the Events page. Checkend does not change the raw events.