Help Center
When setting up page groups, conversions, events, etc., Ptengine Experience uses the following five matching rules. These are "Include", "Forward Match", "Backward Match", "Exact Match" and "Regular Expression".
URLs that contain specific character strings, e.g., if you select the "Include" rule with the "abc.com" specification, the URL will be targeted if it contains the URL you entered, such as "abc.com.contact".
abc.com
abc.com.contact
Forward matching is targeted when the string matches from the first character to the last character specified.
This forward matching mode is suitable when the URL of a website usually does not vary much, but contains various parameters at the end of the URL.
For example, if the site visited by a particular visitor is https://www.example.com/checkout.cgi?page=1&id=9982251615, the registration numbers of other users will not be included if the site is registered by forward matching. If you set "http://www.example.com/checkout.cgi?page", all registration numbers will be counted including the contents of other pages except page=1. If you set "http://www.example.com/checkout.cgi?page=1", all users with all registration numbers will be counted, but limited to the relevant pages.
https://www.example.com/checkout.cgi?page=1&id=9982251615
http://www.example.com/checkout.cgi?page
http://www.example.com/checkout.cgi?page=1
Backward matching targets cases where a match is made from the last character of the string to the first character specified.
For example, if the URL is http://www.example.com/s/test/index.html, the URL to be matched in backward matching mode should be set to "/test/index.html".
http://www.example.com/s/test/index.html
In this case, even if the front part of the site is different and becomes http://www.123.com/s/test/index.html, it will still match.
http://www.123.com/s/test/index.html
Also, if the URL is http://www.example.com/s/test/index.html?wore=xxx , it cannot be matched by backward matching because of the "?wore=xxx" at the back.
http://www.example.com/s/test/index.html?wore=xxx
Exact match means that all characters in the URL match exactly from beginning to end, with no exceptions.
Ptengine Experience supports regular expressions, which allow you to configure detailed settings. A regular expression is a way of expressing several strings of characters in a single format.
Regular Expression: ^https:\/\/www.ptmind.com($|\/$|\/\?.*)
^https:\/\/www.ptmind.com($|\/$|\/\?.*)
URL included: https://www.ptmind.com https://www.ptmind.com/ https://www.ptmind.com/?WT.mc_id=xxxx
https://www.ptmind.com
https://www.ptmind.com/
https://www.ptmind.com/?WT.mc_id=xxxx
URL excluded: https://www.ptmind.com/abc
https://www.ptmind.com/abc
Regular Expression: ^(http|https):\/\/(sh|bj|tj).ptmind.com
^(http|https):\/\/(sh|bj|tj).ptmind.com
http://sh.ptmind.com
http://bj.ptmind.com/abc
http://tj.ptmind.com
https://sh.ptmind.com
https://bj.ptmind.com/?WT.mc_id=xxxx
https://tj.ptmind.com
Regular Expression: ^(http|https):\/\/[a-z0-9]*[.]*ptmind.com\/service\/mng_units\/lp03$
^(http|https):\/\/[a-z0-9]*[.]*ptmind.com\/service\/mng_units\/lp03$
URL included: http://www.ptmind.com/service/mng_units/lp03 https://www.ptmind.com/service/mng_units/lp03 http://ptmind.com/service/mng_units/lp03 http://a123.ptmind.com/service/mng_units/lp03 https://ptmind.com/service/mng_units/lp03
http://www.ptmind.com/service/mng_units/lp03
https://www.ptmind.com/service/mng_units/lp03
http://ptmind.com/service/mng_units/lp03
http://a123.ptmind.com/service/mng_units/lp03
https://ptmind.com/service/mng_units/lp03
URL excluded:ー
Regular Expression: ^http:\/\/ptmind.com\/detail\/id=6984([6][1-9][0-9]|[6][0][4-9]|[7][0-7][0-9]|[7][8][0-3])$
^http:\/\/ptmind.com\/detail\/id=6984([6][1-9][0-9]|[6][0][4-9]|[7][0-7][0-9]|[7][8][0-3])$
URL included: http://ptmind.com/detail/id=6984604 http://ptmind.com/detail/id=6984783
http://ptmind.com/detail/id=6984604
http://ptmind.com/detail/id=6984783
URL excluded: http://ptmind.com/detail/id=6984784 http://ptmind.com/detail/id=6984603
http://ptmind.com/detail/id=6984784
http://ptmind.com/detail/id=6984603
You can use a tool such as this one to check if the regular expression description is correct. https://www.regexpal.com/
https://www.regexpal.com/
Was this article helpful?
Thanks for your feedback.
Sorry about that. Do you mind sharing how we can improve?
Write your feedback here...
We have received your feedback and will make sure to improve this article. We will get in touch with you once we do.