$a = (int) (isset($_GET['a'])) ? $_GET['a'] : '';
// then store it somewhere and do something like:
return '?a='.$a; // return the manager URL
That works, but it's soooo scrappy. And it doesn't really help when I'm trying to link to some other CMP.
Finally, in JS, sometimes you can reference things like:
And you can get the base URL of your CMP, but that variable is not always in scope.
Anyhow, does anyone have an elegant solution to this problem?