As discussed here:

There must be a way to grab the url of a privouse node in tokens..eg [previous-page:url:absolute]

Is it possible to add a token that gets the HTTP_REFERER in future?

Comments

Project:Drupal core» Token
Version:8.x-dev» 7.x-1.x-dev
Component:token system» Code

This should be added to the token module, not drupal core.

Yes thank you its the token module im refering to... and im sure theres alot of people who would appriciate this... or i can write something and the can add the patch ..#smh :p