Help Center
The following are the rules used in page group, conversion, and event settings, defining the content of data matching conditions.
Defines URLs that contain a specific string. For example, when "abc.com" is set as "Contains", URLs like the following will be included:
https://abc.com/lp
https://abc.com/company
https://abc.com/company/contact
Defines URLs that do not contain a specific string. For example, if you want to target all pages except blog pages, you can set "example.com/blog" as "Does Not Contain."
Defines URLs where the registered string matches the beginning (head) of the URL. This is often used for URLs containing query parameters.
For example, assume a specific visitor (id=9982251615) visits the following URL:
https://www.example.com/checkout.cgi?page=1&id=9982251615
Setting the above URL as "Starts With" will only affect visits from users with id=9982251615. Visits from other users will not be affected.
If you want to affect all users, but only limit it to page=1, you can use "Starts With" to set the following URL:
https://www.example.com/checkout.cgi?page=1
Alternatively, if you want to include pages other than page=1, you can use "Starts With" and register the following URL:
https://www.example.com/checkout.cgi?page
Defines URLs where the registered string matches the end (tail) of the URL.
For example, if you register "/test/index.html" using "Ends With", URLs such as "http://www.example.com/s/test/index.html" will be defined as targets.
However, the following URL will not be affected because it does not end with "/test/index.html":
http://www.example.com/s/test/index.html?wore=xxx
Defines URLs where the set URL is an exact match to the actual URL.
Tips:
Regular expressions are a method for representing multiple strings with a specific format.
By using regular expressions, you can define more flexible conditions.
Common Regular Expression Combination
URL that starts with the website domain and ends with a slash or question mark.
Regular Expression: ^https:\/\/www.ptmind.com($|\/$|\/\?.*)
URLs that will match:
https://www.ptmind.com
https://www.ptmind.com/
https://www.ptmind.com/?WT.mc_id=xxxx
URLs that will not match:
https://www.ptmind.com/abc
(The text following this is omitted and follows the same pattern.)
Regular Expression Verification Tool
To confirm whether your regular expression is written correctly, you can use a regular expression testing tool.
※ If you have any questions during setup, please feel free to contact us via WeChat Ptengine Assistant.
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.