title: Can I get the referrer?
body: <p>I have a website on which I dynamically create Javascript code using ASP.NET handler in which I should add the referrer to a database.</p>
  
  <p>I want to get referrer of referrer like so:</p>
  
  <ul>
  <li><code>website1</code></li>
  <li><code>website2</code> (where I create pixel to another site)</li>
  <li><code>website3</code> (where pixel is located)</li>
  </ul>
  
  <p>I don't have code access to <code>website1</code>, on <code>website2</code> I can only assign JavaScript.</p>
  
  <p>If I get referrer in current application state I get <code>website2</code>.</p>
  
  <p>Is there a way to get <code>website1</code> as referrer?</p>