How can i get previous page url in Kentico 12 PE? Visitor.GetUrlReferrer() macro and document.referrer js are always empty.
I want to change my webpart variant via url of previous page. image1
How can i get previous page url in Kentico 12 PE? Visitor.GetUrlReferrer() macro and document.referrer js are always empty.
I want to change my webpart variant via url of previous page. image1
No need to use Kentico macros when you can use plain JavaScript.
window.history.previous.href