Skip to main content

Event Tracking

Track custom events, page views, and user interactions with Signal JS.

Custom Events

Simple Event

Event with Properties

Event with Timestamp

Super Properties

Properties automatically included with every event:

Register Super Properties

Register Once

Remove Super Property

Get All Super Properties

Page Tracking

Automatic Page Views

Enable automatic page view tracking:

Manual Page View

Track SPA Navigation

For single-page applications, track navigation manually:

Recording Controls

Control when events are sent:

Example: Complete Event Tracking

Event Structure

All events follow this structure:

Event Types

Use Cases

  • Track user interactions - Button clicks, form submissions, etc.
  • Monitor conversions - Purchase events, sign-ups, etc.
  • Measure engagement - Page views, time on page, etc.
  • Debug issues - Track errors and user flows
  • Analytics - Understand user behavior and patterns

Best Practices

  1. Use descriptive event names - purchase_completed instead of event1
  2. Include relevant properties - Add context that helps with analysis
  3. Use super properties - Set common properties once, not per event
  4. Track key user actions - Focus on events that matter for your business
  5. Test your events - Verify events are being captured correctly