Destination URL Rules

If you have set up a pixel (see Pixels Overview), you can set up rules to track or retarget users who visit a particular website. See Create and Manage Rules for information on setting up rules.

To set up a URL rule:

  1. From the New Rule page, select Destination Url from the Rule Type dropdown list.
destination-url-rule-type
  1. Make selections from the following dropdown lists to select the building blocks for the event.
Field Definition
Operator Equals. For a conversion to occur, the user needs to insert the full exact URL including the http/https protocol.
  Contains. For a conversion to occur, the user needs to insert any part of the URL.
  RegEx. Use for wildcard searches where conversions occur on any site within a domain or several domains.
URL The URL that the customer visited that you want to track as a conversion.

Note

For examples of the destination URL operators, you can also check out Destination URL Examples.

  1. Click Save Rule.

Regular Expression Examples

You can use regular expression (RegEx) event types for standard events or custom events.

Standard Event RegEx Example

For standard events, you can set up a building block to track when users browse for or purchase any product on a web site. To do so, select RegEx from the Rule dropdown list, and enter this wildcard logic in the Value field: ^[a-zA-Z0-9-.].

Your rule should look something like this:

standard-regex-event

Custom Event RegEx Example

For custom events, you can set up a building block to track when users browse for or purchase any product on a web site. To do so, select RegEx from the Rule dropdown list, and enter this wildcard logic in the Value field: ^[a-zA-Z0-9-.].

Your rule should look something like this:

custom-regex-event

Destination URL Examples

You can create a URL rule using an equals, contains, or regex operator.

  • Equals example: To track the conversion from http://www.example.com/checkout.html, insert http://www.example.com/checkout.html.
  • Contains example: To track conversions from http://www.example.com/checkout.html&configId=1?uid=xxxxxx or http://www.example.com/thankyou.html&configId=1?uid=xxxxxx, insert “example.com”.
  • RegEx example: To track conversions on any URL (with case insensitivity) in the .com, .org, .net, .mil, or .edu domains, select RegEx from the Rule dropdown list, and enter the following wildcard logic in the URL field:

^[a-zA-Z0-9-.]+.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$

Your rule would look something like this:

destination-url-regex-event