What are triggers and how do I customize them?

What are triggers? (Available at hobbyist and company tier)

Triggers control when your users are shown install pop-ups.  They keep a watch for actions taken by your customers (A click, specific time spent on the page, etc.) and allow you to choose when to show install pop-ups. 

How to setup triggers?

In the app dashboard under the section Install popups, click on Triggers.

You can choose to set one or many triggers. We offer four different types of triggers, depending on your preferences and strategy: 

Timeout,
On click,
On page view and
Query parameter.
 

1. Timeout -  This shows pop-ups to customers only after they have spent more than a certain amount of time on your page and allows you to set a time measured in seconds, after which the install message will show up.

2. On click - This trigger allows showing pop-ups when a customer selects one of the elements on your page. The value that should be entered is the specific querySelector (ie. #installBtn). Query Selectors are used to select elements within a page. If you want to read more about query selectors, you can read about it here

3. On page view - This shows install pop-ups only to those customers who visit a specific page of your shop (ie. landing page, blog...). You can set a delay after which the pop-ups shows. Please enter only the relative URL. Eg: if you want the trigger to fire on a visit to the page https://mysite.com/, please only enter /. If you want it to fire on https://mysite.com/products/toys, please enter /products/toys.

4. Query parameter - This trigger allows displaying an install message when a customer runs that exact query parameter. Query parameters are a defined set of parameters attached to the end of a URL. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. In this URL http://my-awesome-shop.com/path?sort_by=best-selling, sort_by=best-selling is the query parameter. 

Don't forget to save when you set up the triggers! And feel free to ask us for the best practices when it comes to triggers, we are happy to help!

Note that deleting all triggers will disable install pop-ups.


Have a nice day!

AmpifyMe team 💙

Still need help? Contact Us Contact Us