Blog #referring

Capturing the Referring URL on Postback in an Online Form in Kentico

by Jeff Steil on July 21, 2016

Capturing the Referring URL on Postback in an Online Form in Kentico
The default macros in Kentico for capturing the referring url (CurrentBrowser.URLReferrer, CurrentDocument.URLReferrer) do a good job of capturing the referring url when the page first loads, but if you have an online form on the page the referring url is lost on the postback.  Here we detail how to capture the referring url on postback using a custom macro.
Read More