Merge Code for current page URI (3)
CompletedCan Spark Pay implement a merge code that will give me the current page URI / current path? As in, the part of the page address that comes after the domain name?
In JavaScript, I'd use something like `window.location.pathname`
In PHP I'd use `$_SERVER['REQUEST_URI']`
0
-
Official comment
Hey Josh, There are already a handful of mergecodes for this. Here are a few examples ##REQUESTFILEPATH## -/Store/Category.aspx ##REQUESTPATH## -/Store/Category.aspx ##REQUESTRAWURL## -/store/c/6053-6053.html?asdf ##REQUESTURL## -https://****/Store/Category.aspx?catID=6053&asdf
Please sign in to leave a comment.
Comments
1 comment