Solved
Previous Page URL profile script
Would this be the correct way to construct a script that would show the visitor's previous page?
var lastCurrentPage = user.getLocal('currentPage') || "";
user.setLocal('currentPage', page.url);
return lastCurrentPage;
