Sorry, for the console you need `console.log` instead of return. The
"return" statements are for the Data Element or Rule Condition.So, your
Data Element or Rule Condition would look
like:if(document.location.pathname) { return document.location.pathname;
} else { return ''; }The code above should return the value of the path,
like "/products/shoes/air-jordans/" or whatever.To do a quick check in
the console with any Web page in your browser, you can either type
`document.location.pathname`, or ...