- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
06-23-2015 03:58 PM - last edited on 08-06-2016 05:54 PM by kathleen_jo
I am trying to capture a portion of the querystring (data type) and populate a new Adobe eVar based on this criteria.
If the querystring contains a â q=â and contains a â sort=â then copy the â sort={value}â thru the end of URL into a new variable.
Example: http://www.oakley.com/en/mens/new-arrivals/new-sunglasses/category/m0101?q=%3AoakleyusRelevanceSort&... Result: querystring_first= â %3AoakleyusRelevanceSort&sort=oakleyusName-descSort#â querystring_last=â oakleyusName-descSort#â jQuery Extension- Does this work? b['new_querystring_first'].split(" b[new_querystring_last| â sort=")[0]
06-23-2015 05:01 PM
Copyright All Rights Reserved © 2008-2023