I am making some qrcodes for a client that will link to his website. I want to track the different placements of them (one will be on a brochure and others will be placed at his booth at trades shows). My thought was to have the qrcodes go to different pages that then redirect by php header to the index of the site, ie qrcode on the brochure goes to domain.com/broch2012.php which has a php header location to index.php.
When I tested this over a couple days I noticed the broch2012.php in the recent visitors stats but that page was not showing up in AWstats. 2 questions:
1) does header redirects not get placed in the AWstats data? 2) Is there a better way to do what I am trying to do without using third party sites or qrcode generators (ones that do link tracking)?
specifically you might be interested in this section: http://awstats.sourceforge.net/docs/awstats_config.html#ValidHTTPCodes
# By default, AWStats considers that records found in log file are successful # hits if HTTP code returned by server is a valid HTTP code (200 and 304). # Any other code are reported in HTTP error chart. # However in some specific environment, with web server HTTP redirection, # you can choose to also accept other codes.
the "hashtags" are actually document fragment identifiers. as such the fragment identifier is not sent with the requested url to the server. a fragment identifier appended to the current url would send no request to the server and would be handled entirely by the browser.