title: Redirect and store URL parameters in CSV
body: <p>I looking for solution that will allowed me to use redirection and store in CSV files the parameters from specific URL.</p>
  
  <p>I have a link:
  <code>http://my-server.com/?url={link}&amp;campaign={campaign_name}&amp;date={date}</code></p>
  
  <p>Example:</p>
  
  <p><a href="http://my-server.com/?url=google.com&amp;campaign=web&amp;date=17062016" rel="nofollow">http://my-server.com/?url=google.com&amp;campaign=web&amp;date=17062016</a></p>
  
  <p>When the user will click in the link, they will be redirect to google.com, but the 3 parameters: url, campaign and date, will be store in CSV files on my server. </p>
  
  <p>When I'm using 'window.location.href' I lost the all parameters.</p>