On-site tab

Engage users navigating on your website with our versatile on-site channel.

In the on-site tab you can design the message that will be sent out to the website users when an event is triggered.

It is possible to use pre-created message templates from the top of the page.

If you prefer, you can create a new message from scratch, selecting one of the two styles available: Alert or popup. Review our content guidelines for best results.


Alerts are simpler messages that appear on the top right corner of the browser, similar in aspect to a web push notification. Alerts include title, body and an optional icon (if you don't set an icon from the campaign, your website icon will be shown by default).

You can select the default action that will happen when the end user clicks on the alert:

  • None: selected by default.
  • Open URL
  • Go to deeplink: take users to a certain part of the app. See our deeplinks guide for more details.
  • JavaScript: execute a custom JavaScript command.


Do not add HTML <script> tags here, just put the JavaScript you want to execute. For example, if you'd like to show the browser's web push prompt to ask users to subscribe to web push in response to an onsite campaign (read more on how to create a two step prompt here), you would need to include the following JavaScript:

Using content elements

You can add emojis and dynamic content to your alert on-site message.

Click the smile icon to display a list of emojis and click the one you want to add to your message.

Click on the user icon to add data from your user attribute fields. Type the name of the field you want to use, or select it from the presented pick list.

Click on the code icon to add content snippets. Type the name of the field you want to use, or select it from the presented pick list.


Popups are richer messages with more options. You can include the following elements in your popup message: image, title, text, footer and up to two buttons.

Toggle between the content mode (selected by default) and the style mode to customise the aspect of your message.


To use a specific form to capture information choose the type here. Read more about how to set up an email capture form.


Buttons include the following elements:

  • Label: include here the text of the button
  • Action: determine what happens when the user clicks on the button. Available fields are none, submit, dismiss, redirect to an URL or execute a custom JavaScript.
  • Save: set an attribute against this user profile or add it to a user list (both attributes and user lists need to have been created beforehand).
  • Trigger: trigger a new real-time event when the user clicks on the button.


Xtremepush identifiers

Only User Lists that use Xtremepush identifiers (Profile ID or Device ID) are available to use with the Add to list option, as other identifiers (such as User ID and email) are optional and may not be set for all user profiles.


Submit action

The submit action type should only be used when using the Email capture form option.


Configure an image for your on-site message (uploading it directly or including the image URL) or setting different pre-configured icons for different message types: success, error, warning, information, question.


Warning image has been selected in this example.

Text elements

Each of the text elements can be personalised (you can enter raw HTML, change the colour, size and format and include data from your user attributes for personalisation by clicking on the user icon).

Preview the message

Regardless of the chosen style, the right-hand pane will show a preview of your message. If you are using dynamic data, you will need to send a test message to see the data rendered.

After you have finished creating your message, you can manage its trigger event from the Events tab.

Email capture form

To build an email capture form you need to select the Popup message type, and in the form field choose Email capture. Two additional fields will be now displayed:

  • Marketing opt-in: choose whether this user will be automatically email subscribed or not on submit. Yes is selected by default.
  • On submit: define what happens when the user submits their email. By default the system will show a confirmation, but it is also possible to dismiss the on-site message or to execute a custom JavaScript command.


Include a Submit button

You must include at least one button whose action is Submit to be able to capture the email addresses and pass them on to the platform.

Multi-language message

If you wish to launch a multi-language campaign, you can create new titles and messages based on the languages you selected in the Setup tab of the campaign builder.

A/B Testing

If you have selected A/B testing from the Setup tab, it is possible to send out different variations of the same message from a single campaign to a portion of the targeted users. You can then compare them and determine which method was most successful. Each variant can be created by clicking on the variant key (A, B, etc).

Did this page help you?