referrer

Displays the URL of the referring page
Putting [referrer] in a template displays the URL of the referring page that led to this one.

Example WebDNA code:
[referrer]
Results: for this page https://docs.webdna.us/search-results

This will not work if the previous page was a form using post, ie: <form method="post">