> I'm trying to track the number of hits > from a site that a client has an ad on. > > I have his site stats in a db, but found not hits from that > particular http_referer, although I know there should be. > > I think I tracked the problem to the fact that the ad opens a > new browser window and that eliminates the possiblity of > tracking the variable. > > Is there a way around this and still get the http_referer?
Well, first of all, you can never rely on CGI.HTTP_REFERER since it can be removed by proxies, security packages, etc. Often, ads are hosted on another server than that of the page you're visiting; that other server can then track the ads for you. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234637 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54