lordvader Posted June 20, 2006 Share Posted June 20, 2006 Hi all,I'm exploring non-javascript click tracking options for my php site. I think the only thing I can do with php is the redirect style, correct? I would prefer my links to stay pristine though. I don't suppose anyone has a way to track clicks without adding anything to the hyperlink?Anyways, I think I'm relegated to the redirect style, which makes me wonder how much cpu and hd i/o overhead there's going to be.For instance, with a thousand daily visitors, who each click 5 links... will that kill my webhost?What about a million daily visitors, who each click 5 links? (Hopefully one day!)My webhost claims that my sites are on a dual xeon, but of course it's shared with other sites.Thanks Link to comment https://forums.phpfreaks.com/topic/12480-php-based-click-tracking-lots-of-overhead/ Share on other sites More sharing options...
mb81 Posted June 20, 2006 Share Posted June 20, 2006 [!--quoteo(post=386112:date=Jun 20 2006, 02:32 PM:name=Lord Vader)--][div class=\'quotetop\']QUOTE(Lord Vader @ Jun 20 2006, 02:32 PM) [snapback]386112[/snapback][/div][div class=\'quotemain\'][!--quotec--]Hi all,I'm exploring non-javascript click tracking options for my php site. I think the only thing I can do with php is the redirect style, correct? I would prefer my links to stay pristine though. I don't suppose anyone has a way to track clicks without adding anything to the hyperlink?Anyways, I think I'm relegated to the redirect style, which makes me wonder how much cpu and hd i/o overhead there's going to be.For instance, with a thousand daily visitors, who each click 5 links... will that kill my webhost?What about a million daily visitors, who each click 5 links? (Hopefully one day!)My webhost claims that my sites are on a dual xeon, but of course it's shared with other sites.Thanks[/quote]Are you looking to get a view of how they went through the site or just what pages are visited the most?A simple solution would be to put a MYSQL insert or update in your header that inserts or adds to a MYSQL table to count the hits or count the tracking or whatever. It all depends on what you are trying to capture. Link to comment https://forums.phpfreaks.com/topic/12480-php-based-click-tracking-lots-of-overhead/#findComment-47768 Share on other sites More sharing options...
lordvader Posted June 20, 2006 Author Share Posted June 20, 2006 Oh no, I don't want to track their session, I just want to count the number of clicks on external links. This would be useful for setting prices on text ads, for instance. Link to comment https://forums.phpfreaks.com/topic/12480-php-based-click-tracking-lots-of-overhead/#findComment-47783 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.