Skip to content

Custom events ​

js
eureka('event', 'newsletter_signup', { position: 'footer', list: 'weekly' })
eureka('event', 'video_progress', { video: 'size-guide', percent: 50 })
  • Name: lower snake case, letters, digits and _, up to 64 characters.
  • String parameters become properties (p), numbers become numeric properties (np). Use numbers for anything you want to sum or average.
  • Recommended names, already understood by reports: search (with q), login, sign_up, generate_lead, form_submit, download, outbound_click, the ecommerce events.

Global properties sent with every event:

js
eureka('set', { site_section: 'blog', ab_variant: 'B' })

Events your existing tools already send (GA4, GTM, Matomo, Piano, Adobe, Segment, Meta) arrive automatically with their original name kept; you don't need to duplicate them. To rename or map them, use Admin → Event mappings.

Agents & humans, every visit counts!