--
We get the current module here:
$_sModuleURL = strtolower($_data['module_url']);
Question #1: Is the page ID "2" below unique per profile, or site wide?
Example: MySite/ProfileA/page/2/home
--
Question #2: Is there a JR variable that will give us ID or Name of current profile custom page being viewed?
$_sHOST = strtolower(parse_url($_sURI, PHP_URL_HOST));
updated by @softdesigns: 06/18/17 11:09:07PM