Visitor Inactivity

Origin: Proactive

This trigger fires when the contact becomes inactive on the page. This is measured by number of clicks over a period of time.

Create This Trigger

  1. Click the app selector icon of app selector and select ACD.
  2. Go to Digital > Automation Triggers.

  3. Click Add trigger.

  4. Enter a Name for the trigger. Since you can assign multiple jobs to the same trigger, use a name based on the event or conditions rather than an associated job.
  5. From the Event drop-down, select Visitor inactivity.

  6. From the Application Type drop-down, select Browser or Native. This changes the conditions that are available for this trigger. See the sections below for details.

  7. In the Delayed execution field, enter the number of seconds that Digital Experience should wait after the selected event occurs before firing the trigger. If you want it to happen immediately, enter 0.
  8. If you have folders that organize your triggers, you can select which folder to put this trigger in from the Folder drop-down.
  9. Click Save.
  10. From the detail page, click Activate when your trigger is completely configured.

Add a Condition

If you entered a value in the Delayed execution field when you created a trigger, make sure your condition configurations do not exceed that time. For example, if you set the Delayed execution time to 86400 seconds, or 24 hours, you cannot add a Contact status update time condition with a time period greater than 1 day.

If you entered a value in the Delayed execution field when you created a trigger, configure conditions under both the Conditions and Delayed conditions sections or just the regular Conditions section. If you only configure Delayed conditions, the system may duplicate events.

  1. From the detail page, click Add Condition.
  2. Use the drop-down to select the condition you want. Refer to the table below for a list of conditions available for what you just created.
  3. Click Select.
  4. Some conditions require additional configuration. Refer to the table below for instructions.

Available Conditions: Browser

If the Application Type drop-down is set to Browser, the following triggers are available.

Condition Type Details and Instructions
Chat Is Active

Execute jobs if the chat window displays an online status.

  • From the drop-down, select Yes or No.
Current page

This condition checks the page URL and time spent on that page to trigger the job on specific page.

    Page URL
  1. From the drop-down, select Equals, Not Equals, Contains, Does Not Contain, or Regex.
  2. Enter the URL for the page on your site. Separate multiple URLs on different lines.
  3. Time spent on page

  4. Add a number of seconds. This value cannot be negative.
  5. Click Save.
Custom condition

Execute jobs based on the response from the specified URL endpoint. The response from the endpoint should return boolean (true or false). This condition works for contact center triggers, proactive triggers, and schedulers.

  • Enter the URL that returns the result of your rule.
Custom script

Execute jobs based on the script you write in Primi language. This condition works for contact center triggers, proactive triggers, and schedulers.

Custom variable

Checks a custom variable that was relayed to Digital Experience using JS API.

  1. Click Add New Custom Variable.
  2. Enter your Custom variable.
  3. From the drop-down, select one of the following:
    • Equals (text).
    • Not Equals (text).
    • Contains (text).
    • Does not contain (text).
    • Regex (text).
    • Lower than (number).
    • Lower than or equal (number).
    • Equals (number).
    • Greater than or equal (number).
    • Greater than (number).
    • In (more rows).
    • Not in (more rows).
    • Contains any of (more rows).
    • Not contains any of (more rows).
  4. Enter what the variable value should be for this condition. Separate multiple values on different lines.
  5. Click Add new custom variable to add more, or click Save.
Date and time

Executes jobs during or outside of specified time frames.

  1. Click Select. This opens a new page.
  2. Select a radio button to Include selected days and times or Exclude selected days and times.
  3. From the drop-down, select Day of the week or Date range.
  4. For Day of the week, select the checkbox for any day that should be a part of the condition.
  5. For Date range, type or use the pop-up calendar to select a start and end date.
  6. Use the Choose time slot options to specify times of day for this condition.
  7. Click Save. This redirects you to the trigger detail page.

Jobs can process up to 500 contacts at a time. If you need to process more, have the job run more than once per day at different times.

Device Type

Executes jobs based on the device your visitor is using, such as desktop, mobile, or tablet.

  1. From the drop-down, select Equals, Not equals, Contains, Does not contain, or Regex.
  2. Enter the device type you want this condition to apply to. Separate multiple values on different lines.
  3. Click Save.

Element Clicked

Executes jobs if a user clicks on a mapped part of your website. This requires the use of Web Assistant.

  1. Click Select. This opens a new page.
  2. Enter the name you gave the element when you mapped it.
  3. Clicked Save. This redirects you to the trigger detail page.
External referrer

Executes jobs based on the external source that sent a visitor to your site.

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter a site that sends visitors to your page. Separate multiple URLs on different lines.
  3. Click Save.
Field is edited

Executes jobs if a user changes the value of a mapped field on your website. This requires the use of Web Assistant.

  1. Click Select. This opens a new page.
  2. Enter the name you gave the field when you mapped it.
  3. From the drop-down, select Contains, More than, Less than, Equal to, or Not equal to.
  4. Enter the new value of the field that you want this condition to apply to. Separate multiple values on different lines.
  5. Click Save. This redirects you to the trigger detail page.
Fingerprint

Executes jobs based on data provided by the visitor's browser: OS, OS Version, Browser, Browser Version, Language, IP Address, Country and Location.

  1. For each section you want to configure, use the drop-down to select In, Not In, Contains any of, Not contains any of.
  2. For each section, enter the value that matches the data type. Separate multiple values on different lines.
  3. Click Save.
Included channels condition

Checks whether the chat window that is on the website belongs to specific channel. This trigger works for both contact center triggers and proactive triggers.

  1. Click Choose Channel. This opens a new page.
  2. Select the checkbox for any channels you want to include for the trigger to fire.
  3. Click Save. This redirects you to the trigger detail page.
Number of clicks

Executes jobs based on the number of times a visitor clicks on a specific page. This trigger is good for measuring "rage clicks."

    Page URL

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter the URL for the page on your site. Separate multiple URLs on different lines.
  3. Number of clicks

  4. From the drop-down, select Lower than, Lower than or equal, Equals, Greater than or equal, or Greater than.
  5. Enter a number of consecutive clicks to fire this trigger. This value cannot be negative.
  6. Clicks period

  7. From the drop-down, select Lower than, Lower than or equal, Equals, Greater than or equal, or Greater than.
  8. Enter a number of seconds that the number of clicks need to happen in to fire this trigger. This value cannot be negative.
Probability of Execution

Executes jobs based on a probability percentage. This condition works for contact center triggers, proactive triggers, and schedulers.

  1. Use the slider to select a percentage. 100% means the job executes every time. 0% means the job never executes.
  2. Click Save.
Scroll depth

Executes jobs based on how far on the page a visitor scrolls.

    Page URL

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter the URL for the page on your site. Separate multiple URLs on different lines.
  3. Scroll Depth

  4. From the drop-down, select Lower than, Lower than or equal, Equals, Greater than or equal, or Greater than.
  5. Add a percentage of the page. This value cannot be negative.
  6. Click Save.
Time spent on page

Executes jobs based on how much time a visitor spent on one page of your site. This depends on a specified period of time.

    Page URL

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter the URL for the page on your site. Separate multiple URLs on different lines.
  3. Time spent on page

  4. From the drop-down, select Lower than, Lower than or equal, Equals, Greater than or equal, or Greater than.
  5. Enter a number of seconds. This value cannot be negative.
  6. Click Save.
Time spent on site

Executes jobs based on how much time a visitor spent on your site. This depends on a specified period of time.

    Website URL

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter a site that sends visitors to your page. Separate multiple URLs on different lines.
  3. Time spent on website

  4. From the drop-down, select Lower than, Lower than or equal, Equals, Greater than or equal, or Greater than.
  5. Enter a number of minutes. This value cannot be negative.
  6. Number of passed days

  7. From the drop-down, select Lower than, Lower than or equal, Equals, Greater than or equal, or Greater than.
  8. Enter a number of days. This value cannot be negative.
  9. Click Save.
UTM Parameters

Executes jobs based on information provided by the visitor's browser.

    Source

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter a site that sends visitors to your page.
  3. Medium

  4. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  5. Enter a type of link that can be used to get to your page.
  6. Campaign

  7. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  8. Enter a specific product promotion or strategic campaign.
  9. Term

  10. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  11. Enter a search term that leads visitors to your page.
  12. Content

  13. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  14. Enter a specific item that can be clicked to bring visitor to your page.
  15. Click Save.
Visited pages

Executes jobs if a visitor goes to one or more specified pages.

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter the URL of a web page for this condition. Separate multiple URLs on different lines.
  3. Click Save.
Visitor is inactive

Executes jobs based on how long a visitor is inactive on your site. This is measured by number and frequency of clicks.

  • Enter a number of minutes from 0-59.

Available Conditions: Native

If the Application Type drop-down is set to Native, the following triggers are available.

Condition Type Details and Instructions
Chat Is Active

Execute jobs if the chat window displays an online status.

  • From the drop-down, select Yes or No.
Custom condition

Execute jobs based on the response from the specified URL endpoint. The response from the endpoint should return boolean (true or false). This condition works for contact center triggers, proactive triggers, and schedulers.

  • Enter the URL that returns the result of your rule.
Custom script

Execute jobs based on the script you write in Primi language. This condition works for contact center triggers, proactive triggers, and schedulers.

Custom variable

Checks a custom variable that was relayed to Digital Experience using JS API.

  1. Click Add New Custom Variable.
  2. Enter your Custom variable.
  3. From the drop-down, select one of the following:
    • Equals (text).
    • Not Equals (text).
    • Contains (text).
    • Does not contain (text).
    • Regex (text).
    • Lower than (number).
    • Lower than or equal (number).
    • Equals (number).
    • Greater than or equal (number).
    • Greater than (number).
    • In (more rows).
    • Not in (more rows).
    • Contains any of (more rows).
    • Not contains any of (more rows).
  4. Enter what the variable value should be for this condition. Separate multiple values on different lines.
  5. Click Add new custom variable to add more, or click Save.
Date and time

Executes jobs during or outside of specified time frames.

  1. Click Select. This opens a new page.
  2. Select a radio button to Include selected days and times or Exclude selected days and times.
  3. From the drop-down, select Day of the week or Date range.
  4. For Day of the week, select the checkbox for any day that should be a part of the condition.
  5. For Date range, type or use the pop-up calendar to select a start and end date.
  6. Use the Choose time slot options to specify times of day for this condition.
  7. Click Save. This redirects you to the trigger detail page.

Jobs can process up to 500 contacts at a time. If you need to process more, have the job run more than once per day at different times.

Device Type

Executes jobs based on the device your visitor is using, such as desktop, mobile, or tablet.

  1. From the drop-down, select Equals, Not equals, Contains, Does not contain, or Regex.
  2. Enter the device type you want this condition to apply to. Separate multiple values on different lines.
  3. Click Save.
External referrer

Executes jobs based on the external source that sent a visitor to your site.

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter a site that sends visitors to your page. Separate multiple URLs on different lines.
  3. Click Save.
Fingerprint

Executes jobs based on data provided by the visitor's browser: OS, OS Version, Browser, Browser Version, Language, IP Address, Country and Location.

  1. For each section you want to configure, use the drop-down to select In, Not In, Contains any of, Not contains any of.
  2. For each section, enter the value that matches the data type. Separate multiple values on different lines.
  3. Click Save.
Included channels condition

Checks whether the chat window that is on the website belongs to specific channel. This trigger works for both contact center triggers and proactive triggers.

  1. Click Choose Channel. This opens a new page.
  2. Select the checkbox for any channels you want to include for the trigger to fire.
  3. Click Save. This redirects you to the trigger detail page.
Probability of Execution

Executes jobs based on a probability percentage. This condition works for contact center triggers, proactive triggers, and schedulers.

  1. Use the slider to select a percentage. 100% means the job executes every time. 0% means the job never executes.
  2. Click Save.
UTM Parameters

Executes jobs based on information provided by the visitor's browser.

    Source

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter a site that sends visitors to your page.
  3. Medium

  4. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  5. Enter a type of link that can be used to get to your page.
  6. Campaign

  7. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  8. Enter a specific product promotion or strategic campaign.
  9. Term

  10. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  11. Enter a search term that leads visitors to your page.
  12. Content

  13. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  14. Enter a specific item that can be clicked to bring visitor to your page.
  15. Click Save.
Visited pages

Executes jobs if a visitor goes to one or more specified pages.

  1. From the drop-down, select Equals, Not Equals, Contains, Does not contain, or Regex.
  2. Enter the URL of a web page for this condition. Separate multiple URLs on different lines.
  3. Click Save.
Visitor is inactive

Executes jobs based on how long a visitor is inactive on your site. This is measured by number and frequency of clicks.

  • Enter a number of minutes from 0-59.

Add a Job

  1. From the detail page, click either Add new job or Add existing job, depending on if the job you want already exists.

  2. If you clicked Add new job, follow the steps to create the job you want. These steps can be found on the individual help page for that job, located in the menu on the left of this page.
  3. If you clicked Add existing job:
    1. Use the drop-down to select the job you want.
    2. Click Add.