Target activity for pages matching certain page path and having query param
I need to set up an XT activity with the following requirements:
Personalization should be seen in pages matching a certain page path and having a certain term on the query string.
For page path requirement: show personalization on pages in a certain directory. E.g. pages in "/en/path1/"; therefore, /en/path1/thispage.html is a match (show personalization), /en/path1/thatpage.html is a match, etc. Any page under /en/path1/ will match.
Query string requirement: in the querystring, must have certain terms such as "test2" in the params. Therefore, querystring=test1:test2 is a match, querystring=thisstring:test2 is also a match because "test2" is found.
Putting both requirements together, this URL & query string would match and the personalization should be shown: https://www.mysite.com/en/path1/mypage.html?querystring=test1:test2
I set up an XT activity this way.
Activity Location: https://www.mysite.com/en
AND where path contains /en/path1/
AND query parameter querystring contains :test2
(changed the actual info for privacy but it looks like this)
Audience: All visitors
I made a modification to a common element found throughout the site. I made sure the element code, structure and css looks exactly the same in all pages. The exact component I modified is re-used throughout the site.
I tested the activity and the personalization is not showing. Please advise.