Trigger Events


Trigger Events add another layer of control to target the right users at the exact right time while they are using your product. Refiner offers different Trigger Event options that allow you to fine tune the timing of your Mobile App Surveys. Below you’ll find a description of each Trigger Event.

Trigger Immediately

Setting the trigger event to Immediately is the equivalent of not using any trigger event. As soon as a user matches your Target Audience setting, they’ll see the survey. This option can be a good fit if you are making use of user segments in your Target Audience that providing precise enough targeting.

Time Delay Trigger

The Time Delay Trigger is a popular choice and a great fit for a many use-cases. The idea is simple: For users matching your Target Audience, Refiner waits for a specific amount of time to pass before showing your survey to them.

When a user navigates through your application, we’ll check if the time conditions described below (Wait Time and Reference Moment) are fulfilled. You’ll need make sure that the SDKs is “pinging” our servers regularly by calling either the ping, trackEvent or trackScreen method. The creation or publishing date of your survey do not affect the Time Delay trigger in any way.

The Time Delay Trigger offers the following options:

  • Wait Time: This is the time interval that needs to pass. Depending on your use-case, the Wait Time can be set to anything between a couple of seconds up to several days (more info below).
  • Reference Moment: You can choose between different moments in a user’s journey which will be used as some kind of anchor point in time. You can choose between:
    • User starts a new session: When a user connects to your app and we didn’t see them for at least one hour, we assume that a new session started.
    • User enters your Target Audience: The moment when a user matches the user segments you defined in the Target Audience.
    • User was seen for the first time: The moment you identify a user for the first time using our Web-Client or a backend API.

You can combine the Time Delay trigger with Segment Based Targeting for even control. For example, you can create a user segment “Signed up 30 days ago” and use it as your Target Audience and combine it with a Time Delay trigger of “3 minutes after starting a new session”.

Screen Visit Trigger

The Screen Visit trigger s only available for mobile surveys powered by one of our Mobile SDKs. It functions similar to the Page Visit trigger described above. The only difference is that instead of matching website URLs, it matches the tracked screen names of your app.

Tracked Event Trigger

The Tracked Event trigger lets you to launch a survey when a user performed a certain action in your app for a certain number of times. You can learn how to track events for your users on our Event Tracking page.

Please note that only events tracked with our Web-Client or Mobile SDKs are processed in real-time. Events tracked through a backend integration (Segment, API, etc.) are processed with a slight delay of a couple of minutes.

Manual Trigger

There are some use cases where you want to launch a survey ad-hoc at very specific moments. For these situations we are providing the “Manual” trigger option which lets you launch a survey by executing code in your app.

To launch a survey ad-hoc you can execute the “showForm” method of our Mobile SDKs. Code examples are shown in the survey editor as shown in the screenshot below.

To identify your survey, you can either use the survey ID that was automatically generated by Refiner, or define an alias. Using an alias allows you to swap out a survey without changing your code, or launch the same type of surveys in different projects / environments (testing vs prod).

By default, the survey is shown to the use only once. All subsequent “showForm” method calls won’t result in any additional survey views. The Target Audience, Page Rules and Survey Throttling settings are taken into account..

You can also launch a survey every time the Javascript method is called. To enable this behaviour, set the “Recurrence” option to “Repeatedly”.

If you want to launch a survey without any checks, for example for testing purposes, you can add an additional “force” parameter when executing the Javascript command.

Was this helpful? Let us know with a quick a vote