I just bought a marketing script called PHP Link Cloaker that redirects your affiliate links and tracks # of clicks and where the visitor came from. I installed it correctly twice, but for whatever reason it is not working so in the meantime I will use .HTACCESS dynamic redirecting like so:
The above is just an example.
RewriteRule ^recommends/google(/)?$ http://www.google.com/index.php?referid=187376353 [L]
This works fine however using this method I have no way of tracking my ad campaigns, not CTR, referral, nothing, and any non-amatuer who is involved in any sort of Internet marketing knows how crucial it is to track ad metrics.
So finally to get to my question, is there any simple php script that could count the number of hits and the referring link to maybe a text file when someone clicks one of my 'recommends' link?
Keep in mind that using .HTACCESS redirection means that the folder 'recommends' does not ACTUALLY exist in my root level.