The ACTIVATE notification listener is deprecated in Go 1.0 and higher, and 3.1.0 and higher versions of all other SDKs. The DECISION notification listener replaces the ACTIVATE notification listener. However, ACTIVATE continues to have one use that isn't covered by the DECISION notification listener. It enables you to send only impression-emitting decisions with context about experiment variation and impression information to third-party analytics providers, whereas DECISION listeners send event information without impression contextual information.
The ACTIVATE notification listener sends a stream of only impression-emitting decisions for experiments. If you want a stream of all decisions for any feature flags, without impression contextual information, use the DECISION notification listener.
The following tables show the information provided to the notification listener when it is triggered:
Contains fields such as key, status, audience IDs, variations, traffic allocation, forced variations.
The user ID.
A map of custom key-value string pairs specifying attributes for the user that are used for audience targeting. Non-string values are only supported in the 3.0 SDK and above.
Contains keys such as id, key, and array of variables.
See Track notification listener topic for more information.
For example code, see the notification listener topic in your SDK language.
Updated over 1 year ago