Im promoting a website that has a simple "Download Now" button. When a user clicks this button, they receive a file (a firefox addon that installs in their browser).
I've created a number of different version of the addon to use with different marketing channels (AdWords, Facebook Ads, Yahoo, etc). Each version has a unique ID that is passed back to our server to track installs/stats.
What I would like to do is read the URL of the incoming visitor, which contains specific marketing campaign IDs, and then when the user presses Download Now, deliver the appropriate file to them based on the marketing channel in that URL.
So if a user hits our site with the url: www.oursite.com/?utm_campaign=google&keyword=blah we will deliver the "google" version of the addon.
Is there a way to accomplish this? We're running LAMP for the site.