ABP | Add "licensed" IPM parameter & telemetry
Background / User story
IPM campaigns are often relevant only to licensed premium or free users. Although we will be able to target campaigns in MoEngage based on license server events in the future, there is a lag between campaigns being sent and extensions receiving and acting on the campaign. In those cases, we want to be able to ensure that IPMs only trigger correctly for free/premium users as intended.
Relevant links:
Business value/impact
IPMs that should only be shown to free/premium users are correctly targeted. I'm not sure if we have data backing this but the behavior is common in normal AdBlock update campaigns.
What to change
- Design: N/A
- Research: N/A
- Spec: N/A
- Legal: TBD
-
Development:
- Add an optional
license_state_list
IPM command parameter to thecreate_on_page_dialog
command. This new parameter is a string. The new parameter will contain a comma-separated list of Premium license states (currently,free
orpremium
). The default value isfree
- Update the existing
license_status
telemetry field to the device custom attributes sent in the daily pings. This value should be a string enum with values of "free" or "premium".
- Add an optional
Hints for testers
- Test the 'create_on_page_dialog' command
- with and without the new 'license_state_list' parameter
- Verify the 'license_status' parameter on the IPM request is the correct value
Hints for translators
N/A
Edited by Thomas Greiner