Interceptors

You can use interceptors to control what data Smartlook captures and what sensitive data Smartlook omits.

Interceptors are functions with two parameters: data and context. The structure of each interceptor differs based on their type. The return type of the function is void. For events that can be filtered, the function can also return false. A true return has no effect. You can modify data. Doing so directly affects what Smartlook records.

Types of interceptors

Currently, there are three types of interceptors: