glenelkins Posted November 18, 2006 Share Posted November 18, 2006 HiSay I have a banner on one website, it has a link to a php script that takes the user id and adds one to its click through.How would i track the actual impressions of the banner? I mean how do i track each time the banner shows on a web page? Link to comment https://forums.phpfreaks.com/topic/27699-banner-impressions/ Share on other sites More sharing options...
glenelkins Posted November 18, 2006 Author Share Posted November 18, 2006 Does nobody know? Link to comment https://forums.phpfreaks.com/topic/27699-banner-impressions/#findComment-126700 Share on other sites More sharing options...
spelltwister Posted November 18, 2006 Share Posted November 18, 2006 I use phpAdsNew. You can probably have each banner with a unique identifier and a script that loads in the banner (checking it's identifier) and increment that...But I'd say phpAdsNew is probably easier. I'm not sure how the click through would be affected though. Link to comment https://forums.phpfreaks.com/topic/27699-banner-impressions/#findComment-126706 Share on other sites More sharing options...
glenelkins Posted November 18, 2006 Author Share Posted November 18, 2006 HiNot possible I am writing this script from scratch. The clickthrough is simple enought, but i cannot figure out how to track the impressions with banner code as such (for example);[code]<!--Affiliate Code Do NOT Modify--><a href='http://localhost/affiliate/processing/clickthrough.php?user=1&id=1'><img src='http://localhost/affiliate/images/banners/120x60/120x60_backgammon1.gif' alt='Backgammon 24-7' width='120' height='60' border='0'></a><!-- End Affiliate Code-->[/code] Link to comment https://forums.phpfreaks.com/topic/27699-banner-impressions/#findComment-126711 Share on other sites More sharing options...
Procode Posted November 18, 2006 Share Posted November 18, 2006 Just everytime that page loads, check what banner it is and add +1 to it's views. Link to comment https://forums.phpfreaks.com/topic/27699-banner-impressions/#findComment-126713 Share on other sites More sharing options...
glenelkins Posted November 18, 2006 Author Share Posted November 18, 2006 i have seen code like this[code]<img src="http://domain.com/processing/imp.asp?tag=tagid_1_1">[/code]how does that work then if that src is not an image file Link to comment https://forums.phpfreaks.com/topic/27699-banner-impressions/#findComment-126715 Share on other sites More sharing options...
glenelkins Posted November 18, 2006 Author Share Posted November 18, 2006 i could use<img src='http://domain.com/processing/imp.php?tag=1'> for example, but how would i return the image to be displayed? Link to comment https://forums.phpfreaks.com/topic/27699-banner-impressions/#findComment-126723 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.