I have a php-apache website on which I am trying to track download conversions using Google Analytics. I want my users to initiate the download and be redirected to a "thank you" page in one click. The way I'm envisioning this is:
The user clicks one of several download buttons which sends them to a generic thankyou.php page, and passes a variable telling that page which file to give them. Thankyou.php contains a header which uses that variable to start a download dialogue.
If there are better ways to do this, I am open to anything. To my bewilderment, I haven't found a good way to do this after several hours of poking around here and on Google.
Many thanks in advance :-)