I send out a weekly newsletter for one of my sites, and thought it would be nice to be able to track how many referalls each link in the newsletter generates. I thought of using links in the form of page.html?ref=1234 so that log entries traceable to the newsletter would be created.
I'm assuming that as the page is pure HTML, the server will basically throw away the ?ref=1234 portion, or am I missing something?
I did something similar. I created a directory with nothing in it but a htaccess file and a 404 redirect. The links I used in the newsletter were just "domain.com/directory/12.htm" and none of those files actually existed - they were just codes for the linke. The 404 logged all the headers and then sent the user via a location redirect to the proper page.
yup - I have several folders set up for direct mailers, banners, newsletters, etc that are chuck full of redirects. Redirects are great considering that they are clean, unassuming, and are easy to pull stats from if you have a homegrown tool that pulls hits(clean) and referrers for you.
Forums for e-newsletter publishers haved mentioned a $45 perl script called ProLinkz (prolinkz.com). I'm not affiliated but just bought it. Set it up last week. Looks good but not enough time with it to recommend it.