Define a visit condition or condition group

When creating a strategy, you can define one of the following conditions:

  • Visit condition: Criteria that determines which experience to present to the visitor based on a single binary (meets or doesn't meet) condition
  • Condition group: Ordered list of up to four visit conditions for complex use cases

The following sections explain how to define both types of conditions when creating a strategy rule.



Condition Creation

Define a visit condition

Follow these steps to create a visit condition:

  1. On the strategy tree, click + > Visit Condition. The Create Visit Condition panel opens.
  2. Enter a Visit Condition Name.
  3. Define a visit condition.

    💡

    A visit condition can be comprised of multiple rules based on logic.

    LogicSteps
    ANDJoins multiple rules together using AND logic exclusively, requiring all conditions to be satisfied together

    Follow these steps:
    1. Click +Rule.
    2. Define another visit condition.
    ORJoins multiple groups together using OR logic exclusively, requiring the conditions of at least one group to be satisfied

    Follow these steps:
    1. Click +Add Group.
    2. Define another visit condition.
  4. Click Apply to add the visit condition to the strategy.



Define a condition group

Follow these steps to create a condition group:

  1. On the strategy tree, click + > Condition Group. The Create Condition Group panel appears.
  2. (Optional) Enter a Condition Group Name.
  3. Enter a Visit Condition Name.

    📘

    A visit condition is evaluated in the order in which it is listed.

  4. Define a visit condition.

    💡

    A visit condition can be comprised of multiple rules based on logic.

    LogicSteps
    ANDJoins multiple rules together using AND logic exclusively, requiring all conditions to be satisfied together

    Follow these steps:
    1. Click +Rule.
    2. Define another visit condition.
    ORJoins multiple groups together using OR logic exclusively, requiring the conditions of at least one group to be satisfied

    Follow these steps:
    1. Click +Add Group.
    2. Define another visit condition.
  5. Click + Add Visit Condition.
  6. Repeat steps 3-5 to add up to three additional visit conditions.
  7. Click Apply to add the condition group to the strategy. The strategy tree appears with the condition group added.
  8. In the condition group on the strategy tree, add a visit condition, condition group, or experience for All Other Visits that to do not meet any of the criteria of the other visit conditions within the condition group.


Visit Conditions Reference

Geography

📘

JWP gathers geographical data by analyzing a viewer's internet connection through its Global Content Delivery Network (CDN). This method is not always accurate.

The precision of location data can vary depending on the internet connection’s characteristics. Inaccurate location may occur during the following cases:

  • VPNs. If a viewer employs a VPN, JWP’s CDN will identify the location of the VPN server rather than the viewer’s actual geography.
  • Mobile devices. As determined by a service provider’s traffic management, mobile internet users may appear in a general area rather than a precise location.
Type Description
Country Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Country.
  2. From the next dropdown menu, select the inclusive or exclusive logic operator.
  3. From the final dropdown menu, select a country.
Region Larger economic or geographic area containing multiple countries, such as EMEA, EU, and LATAM

Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Region.
  2. From the next dropdown menu, select the inclusive or exclusive logic operator.
  3. From the final dropdown menu, select a region.
Subdivision Canadian province or US state

Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Subdivision.
  2. From the next dropdown menu, select the inclusive or exclusive logic operator.
  3. From the final dropdown menu, select a province or state.

Custom

Type Description
Key Value Pair Custom data added for a specific placement

Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Key Value Pair.
  2. In the next text field, enter a key.
  3. From the next dropdown menu, select the logic operator.
  4. In the final text field, enter a value.

Device

Type Description
Operating System Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Operating System.
  2. From the next dropdown menu, select the inclusive or exclusive logic operator.
  3. From the final dropdown menu, select the operating system.
Device Type Category of devices based on primary form factor and use case, such as desktop and phone

Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Device type.
  2. From the next dropdown menu, select the inclusive or exclusive logic operator.
  3. From the final dropdown menu, select the device type.

Browser

Type Description
Browser Application used to access and interact with websites and online content, such as Chrome, Facebook, Google Search App, and Roku

Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Browser.
  2. From the next dropdown menu, select the inclusive or exclusive logic operator.
  3. From the final dropdown menu, select the browser.

Page Details

Type Description
Page Domain Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Page Domain.
  2. From the next dropdown menu, select the logic operator.
  3. In the text field, enter a domain value, such as mydomain.com.
Page URL Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Page URL.
  2. From the next dropdown menu, select the logic operator.
  3. In the text field, enter a page URL, such as https://mydomain.com OR https://subdomain.mydomain.com. URLs with www are not valid.
Page URL Query Params Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Page URL Query Params.
  2. In the text field, enter a URL query parameter name.
  3. From the next dropdown menu, select the logic operator.
  4. In the text field, enter a page URL query parameter value.
Referrer URL Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Referrer URL.
  2. From the next dropdown menu, select the logic operator.
  3. In the text field, enter a referrer URL, such as https://mydomain.com OR https://subdomain.mydomain.com. URLs with www are not valid.

Local Date/Time

Type Description
Day of Month Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Day of Month.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select a value.
Day of Week Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Day of Week.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select a day.
Hour Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Hour.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select an hour. Values are based on a 24-hour clock.
Local Date Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Local Date.
  2. From the next dropdown menu, select the logic operator.
  3. From the date picker, select a date.
Minute Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Minute.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select a minute value.
Month of Year Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Month of Year.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select a month.
Year Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Year.
  2. From the next dropdown menu, select the logic operator.
  3. From the text field, enter four-digit year.

UTC Date/Time

Type Description
Day of Month Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Day of Month.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select a value.
Day of Week Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Day of Week.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select a day.
Hour Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Hour.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select an hour. Values are based on a 24-hour clock.
Local Date Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Local Date.
  2. From the next dropdown menu, select the logic operator.
  3. From the date picker, select a date.
Minute Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Minute.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select a minute value.
Month of Year Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Month of Year.
  2. From the next dropdown menu, select the logic operator.
  3. From the final dropdown menu, select a month.
UTC Date Follow the steps to set the visit condition:
  1. From the first dropdown menu, select UTC Date.
  2. From the next dropdown menu, select the logic operator.
  3. From the date picker, select a date.
Year Follow the steps to set the visit condition:
  1. From the first dropdown menu, select Year.
  2. From the next dropdown menu, select the logic operator.
  3. From the text field, enter four-digit year.