URL
To set an URL match you first need to choose the match type and then set the value to match.
The example above will register conversions for visitors that visits the success page. This is done by adding an URL condition with a Contains match for the /checkout/success page.
Match types
Simple match
This will match the URL fully but will ignore any parameters.
Example
Simple match on https://www.domain.com
Will match
https://www.domain.com
https://www.domain.com?utm_source...
https://www.domain.com/
https://www.domain.com/?utm_source...
Will not match
https://domain.com
https://blog.domain.com
http://www.domain.com
https://www.domain.com/home
Exact match
This will match the URL fully including any parameters.
Example
Simple match on https://www.domain.com
Will match
https://www.domain.com
https://www.domain.com/
Will not match
https://domain.com
https://blog.domain.com
http://www.domain.com
https://www.domain.com/home
https://www.domain.com?utm...
https://www.domain.com/?utm...
Contains
This will match if the value is anywhere in the URL (including parameters)
Example
Simple match on success
Will match
https://www.domain.com/checkout/success
https://www.domain.com?utm_source...
https://www.domain.com/
https://www.domain.com/?utm_source...
Will not match
https://domain.com
https://blog.domain.com
http://www.domain.com
https://www.domain.com/home
Regex
Regex matching is a very powerfull way to match whole or parts of the url dynamically
Example
Regex match on
/checkout/success/([1-9]{9})
Will match
https://www.domain.com/checkout/success/123456789
https://www.domain.com/checkout/success/634637755
Will not match
https://www.domain.com/checkout/success/
https://www.domain.com/checkout/success/12345678
https://www.domain.com/checkout/success/1234567895
Always test your Goals in Preview before activating the experiment to make sure that your goals triggers as expected.