Global event properties

Log your own specific data for every event.

All Smartlook events can have additional properties that help track more details. To add properties to every event that is being tracked, you can use the properties call:

smartlook('properties', { 'package': 'free', 'environment': 'production' })

The package and environment properties are added to every event that is being tracked (urls, clicks, etc.), including custom events.

Properties can be called multiple times. All properties will be merged. To remove existing properties, set the value to null or undefined.

📘

Useful for filtering or events breakdowns


Did this page help you?