Setting Up the Website Distribution with Trigger Conditions

Updated 

This feature enables you to create and manage website surveys with seamless integration through LiveChat. It offers a flexible setup, allowing surveys to be triggered based on specific conditions, making it easy to gather real-time feedback from website visitors. Additionally, it supports performance analysis across different creative formats, languages, and devices, providing actionable insights to improve user engagement and survey effectiveness.

Please refer to the Website Distribution article for examples of use cases and additional benefits.

Prerequisites

In order to access the Website Distribution, you must have the following View and Edit Distribution permissions at the Survey Level.

Setting Up Website Distribution with Trigger Conditions

  1. Navigate to the Distribution sections.

  2. Click Create Distribution and select Website distribution.

  3. Go to Distribution Details page and fill in the details:

    1. Distribution Name: Enter a meaningful name.

    2. Expiration Date: Select an expiration date.

    3. Live Chat Application: You can either select an existing LiveChat or create a new one (proactive prompts associated with LiveChat will also appear in the dropdown). If an existing LiveChat is selected, the user can view other surveys linked to that LiveChat.

      For creating a new Live Chat application follow these steps, click Create New and go to New Live Chat Application page:

      1. Name: Please provide a meaningful name for the Live Chat.

        Note: The live chat name is not editable later.

      2. Website URL: To operate the web application on particular websites, choose them from the list. If no websites are selected, it will function on all sites where the code is integrated.

        Note: Choosing a live chat application here does not display a live chat on the website; it merely links the proactive prompts to the necessary code for embedding the survey on the site where responses will be gathered.

  4. Setup Conditions:

    Define the condition that triggers the survey by selecting the following:

    1. Variant Name: Enter the variant name.

    2. + Add Conditions: Select field, operator and value (you can add more conditions). You can add multiple conditions and even add condition groups.

    3. Creative: Choose the creative you wish to include. Refer to this article to learn how to add creatives (Click Preview for a glance).

    4. Schedule: Select schedule from the dropdown.

    5. Time Zone: Add a time zone to schedule the distribution.

    6. Start Sending From: Select the start date from which you would like to trigger the distribution.

    7. Stop Sending From: Select the end date when you would like to stop distribution.

    8. Click + Variant to add more variants.

    9. Click Create and Enable (at the bottom right corner).

How to use it?

  • Save and Deploy:

    • Save the distribution and duplicate the LiveChat code.

    • Embed the code into the HTML of the target website to trigger surveys.

      Note: Only one LiveChat code can be embedded per website.

  • Analyze Distribution Report: Once the surveys have been distributed, you can examine the metrics for the distribution created. By choosing "Distribution Report" from the kebab menu next to the specified Distribution, you can view essential metrics along with the embed code as outlined below:

    Key Metrics

    • Survey Started Count

    • Survey Response Count

    • Survey Completion Rate

    • Survey Abandonment Rate

    • Survey Engagement Rate

    • Creative Triggered Count

  • To test a website distribution, start by copying the LiveChat ID from the embed code. Then, use the test link .

    Make sure to replace the App ID and environment values in your distribution settings to match those used in the test link. This ensures accurate testing and integration with your website.

Key points to note

Single LiveChat Code Per Website: Only one LiveChat code can be embedded on a website at a time, so it's important to manage multiple survey distributions carefully to avoid conflicts and ensure proper functionality.

Adding embed code within the website

After creating a website distribution, click Vertical Ellipsis menu and select "Copy Embed Code." Then, paste the embed code into your website's HTML to begin triggering surveys for visitors.


Best Practices

  • Ensure Proper Placement of LiveChat Code: Double-check that only one LiveChat code is embedded per website to avoid conflicts.

  • Test Across Devices: Make sure to preview the survey on multiple devices (desktop and mobile) to ensure responsiveness and optimize the user experience.

  • Timing and Conditions Sensitivity: Ensure that intercept conditions are defined clearly to avoid surveys being triggered at the wrong time, which could negatively impact the user experience.