Hook Points

Interaction between the app user and User Hook is done through Hook Points. Hook points are specific messaging or actions that should be presented to the user at a certain point of using the app.

Types of Hook Points

When creating a hook point, you must decide what should happen when this hook point is executed inside the app. This is done by assigning the proper type to the hook point.

Type Affect
Message An in-app message is displayed to the user.
Survey A predefined survey is displayed to the user.
Action A custom action is automatically executed in the app background.
NPS Prompt An Net Promoter Score form is displayed to the user.

App Events

Starting with version 2 of the User Hook SDK, all Hook Points now respond to app events. When fetching hook points inside your app, you will need to provide an event name. This allows you to create hook points that respond to specific events within your app. For instance, you may want a survey to appear when a user submits a form. By defining a “submit_form” event, you can assign your survey hook point to only display after the “submit_form” is fired.

When creating a hook point in the User Hook admin website, you are able to create new custom events and attach a hook point to multiple events.

Limiting Hook Points

Not every hook point applies to every user. For this reason, each hook point has a few settings to make sure that the proper message is delivered to the proper user.

  • User Targeting Rules are used to defined which users should see this hook point.
  • A Frequency Limit can be applied so that a user only sees a hook point a certain number of times.
  • A Frequency Interval makes sure that a certain time period has past before the user sees this hook point again.