how Target evaluate current page URL | Community
Skip to main content
Michael_Soprano
New Participant
June 26, 2024
Solved

how Target evaluate current page URL

  • June 26, 2024
  • 1 reply
  • 722 views

For demo purposes I would like to url personalization under query string.

The rule is: Current Page URL contains ?test

Here is my question. How Target evaluate Current Page URL?

Is it window.location.href?

Or is it window.location.pathname?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by pradnya_balvir

It is window.location.href

 

Example: www.testing.com?qa=test

 

While creating audience 

 

1 reply

pradnya_balvir
pradnya_balvirAccepted solution
New Participant
June 26, 2024

It is window.location.href

 

Example: www.testing.com?qa=test

 

While creating audience 

 

Michael_Soprano
New Participant
June 27, 2024

Thanks!