Examples

Common rule setups you can copy.

Send each country to its own store

  • Rule 1: When Country is Canada → Redirect to https://shop.example.com/ca
  • Rule 2: When Country is United Kingdom and Ireland → Redirect to https://shop.example.com/uk
  • Everyone else goes to the code's destination, for example https://shop.example.com/us.

Breakfast and dinner menus

  • Rule 1: When Time of day is 06:00 to 11:00 → Redirect to the breakfast menu.
  • Rule 2: When Time of day is 17:00 to 23:00 → Redirect to the dinner menu.
  • The destination is the all-day menu.

The times use your workspace's time zone, which the rules card names. Owners and admins can change it with the Change link next to it.

Weekend offer

  • Rule: When Days of week is Sat and Sun → Redirect to the weekend offer page.

Launch day

  • Rule: When Date range is from the launch date with no end → Redirect to the product page.
  • Before launch, scans go to the destination, such as a "coming soon" page.

Spanish-speaking countries

  • Rule: When Country is Spain, Mexico, Argentina and Colombia → Redirect to the Spanish page.

Test two landing pages on mobile only

  • Rule: When Device is iPhone or iPad and Android → A/B split: page A at 50, page B at 50.
  • Desktop and other devices go to the destination.

Combine conditions

Conditions in one rule must all match. "Country is United States" plus "Device is iPhone or iPad" matches only iPhones and iPads in the US. To match the US or iPhones, use two rules with the same destination.