I’d like my site to check to see where a user has come from, and if it’s one site/link in particular to take a certain action. Open a different window, for example, alerting the user to some information that he needs in the context of his having arrived via that particular route.
You can do this with the document.referrer property. Take a look at this page to see how to use it:
To add it into a page in Freeway use the Page>HTML Markup menu option and make sure the code goes in the head tag (so select After or Before from the drop-down).
Hope this helps,
Joe
On 17 May 2010, at 19:01, Jon Clinch wrote:
I’d like my site to check to see where a user has come from, and if it’s one site/link in particular to take a certain action. Open a different window, for example, alerting the user to some information that he needs in the context of his having arrived via that particular route.