In-app message inserts

If you use Visual Studio Code as your editor, you can use code snippets to speed up working with inserts.
You can find the snippets in our Github repository: https://github.com/Synerise/jinja-code-snippet

Common tags available in in-app communication

You can use all tags from Insert usage.

Trigger event parameters

The parameters of events which in-app messages provide valuable context for your message content. You can insert these parameters in in-app content, which makes your message more relevant and tailored to your customers' actions.

Selecting the trigger event in the in-app definition
Selecting the trigger event in the in-app definition

To insert a property from the trigger event, use the following insert:

{{ event.PARAMNAME }}

Most parameters are stored in the params object and you will need to refer to that object first:

{{ event.params.PARAMNAME }}

Example scenarios you can build based on this feature:

  • in-app messages featuring products similar to the ones your customers have recently added to their favorites,
  • in-app messages featuring cross-sell products for the ones your customers have recently bought or added to the cart,
  • in-app message featuring detailed product information stored in the catalog after your customer adds that product to cart.

Errors in processing

If an insert in the communication can't be rendered, an inApp.renderFail event is generated.

Canonical URL: https://hub.synerise.com/developers/inserts/inapp