Global event properties

Log your own specific data for every event.

Any Smartlook event might have additional properties, which helps to track more details.
You can add properties to every event that is being tracked using the properties call as shown below:

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

Properties package and environment will be added to every event that is being tracked (urls, clicks, ...) including the custom events.

Can be called multiple times, all properties will be merged. To remove existing property, set its' value to null or undefined.

📘

Useful for filtering or events breakdowns


Did this page help you?