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

how Target evaluate current page URL

  • June 26, 2024
  • 1 reply
  • 723 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
Community Advisor
pradnya_balvirCommunity AdvisorAccepted solution
Community Advisor
June 26, 2024

It is window.location.href

 

Example: www.testing.com?qa=test

 

While creating audience 

 

Michael_Soprano
Level 10
June 27, 2024

Thanks!