How do I detect the url of where the user is coming from in Javascript/Angularjs? -


i want detect origin url of user entering website (such perform operations later). can achieved using angular?

are looking referrer?

var x = document.referrer; 

Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -