Skip to content
trackd.one

Web

Custom events

Track button clicks, form submissions, sign-ups or any other action — with optional data.

Sending events

// Button click
trackd.track('signup_click', { plan: 'pro' })

// Form submission
trackd.track('contact_form', { source: 'footer' })

// File download
trackd.track('download', { file: 'whitepaper.pdf' })

Events appear in the dashboard under Events. Each event can carry an object with key-value pairs.

The website script uses trackd.track(name, data) (alias trackd.event); the app SDKs use event(name, data).

Rules for event data

  • Name: max. 200 characters.
  • Data: flat object with strings, numbers or booleans, max. 4 KB. Nested values are dropped.
  • No personal data (names, email addresses, user ids) in event names or data.

Funnels and goals

Any custom event can be a funnel step or the basis of a goal. An event named purchase with a numeric amount is also recorded as revenue.

Ready in minutes

Create a free account, add your website or app, copy the snippet.

Start for free