


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;
Does it make more sense to use the out of the box audience setting provided by Target? you can find the current page url and previous page url with the value you want.
Does it make more sense to use the out of the box audience setting provided by Target? you can find the current page url and previous page url with the value you want.