Redirect and store URL parameters in CVS : I looking for solution that will allowed me to use redirection and store in CVS files the parameters from specific URL.

I have a link:
http://my-server.com/?url={link}&campaign={campaign_name}&date={date}

Example:

http://my-server.com/?url=google.com&campaign=web&date=17062016

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. 

When I'm using 'window.location.href' I lost the all parameters.

Thanks for the help in advance.

DK