Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!

How to set document.refferer and a token in url


Level 1


I am working for DN, NHST Media group; located in Oslo. For a newsletter feature, we want to achive followings:

  1. We want to set document.referrer when user clicks link in email and get redirected to our article. Currently, we are getting blank string ("") for this links. Example:,264e75a,264e75f
  2. We want add a token in urls, it can be a hardcoded but it should not be valid/exists if user forward this email.

The feature is to provide special access to contents if and only if users comes through newsletter email. We are open to get any other suggestions to achieve this.


Thanks and best regards,


Consultant, DN
NHST Media group


Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies