Tracking202 Missing PPV Icons Fix
Sometimes, little things bug me. I’ve been running a bunch of PPV traffic lately and for awhile now, I’ve noticed that Prosper202 doesn’t have icons for DirectCPV or LeadImpact. This is most noticeable in the Overview and the Spy view where traffic from both of these networks gets stamped with the question mark icon. When you just see a question mark, you need to hover over it with your mouse to figure out what traffic source it is. And that sucks.
Fixing this was pretty easy. I just created 2 icons in Photoshop and then added a couple of lines of code.
To apply this fix, download prosper202-ppv-icons-fix.zip
Put the two .gif files into your /202-img/icons/ppc/ directory.
Put the functions-tracking202.php file into your /202-config/ directory (and overwrite the file).
For the paranoid among you, you can make the code changes yourself:
(Note: the new code sits between the //trafficvance and //unknown comments).
1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 | //traffic vance if ((preg_match("/trafficvance/i", $ppc_network_name)) or (preg_match("/traffic vance/i", $ppc_network_name))) { $ppc_network_icon = 'trafficvance.ico'; } //directcpv *** ctrtard added 3/10/2010 if ((preg_match("/directcpv/i", $ppc_network_name)) or (preg_match("/direct cpv/i", $ppc_network_name))) { $ppc_network_icon = 'directcpv.gif'; } //leadimpact *** ctrtard added 3/10/2010 if ((preg_match("/leadimpact/i", $ppc_network_name)) or (preg_match("/lead impact/i", $ppc_network_name))) { $ppc_network_icon = 'leadimpact.gif'; } //unknown if (!isset($ppc_network_icon)) { $ppc_network_icon = 'unknown.gif'; } |
You can see how sweet my DirectCPV icon looks in action
Phew… now I feel better.
NOTE: This fix is for the current version of Prosper202 1.3.2, I’ll be updating this as needed when the next release comes out.
Related posts:
- Split Testing and Landing Page Rotation Script for PPV
- Split Testing and Rotating Offers in Tracking202
- LeadImpact Doesn’t Allow Landing Page Rotations
- Passing Variables Through Prosper 202 Mod
- Pimp Your Prosper with Subid Injection Buttons















3 responses to "Tracking202 Missing PPV Icons Fix"
Nice post! I named a network wrong so the icon wasn’t showing up. Editing the functions-tracking202.php like you suggested worked out great to fix those annoying question marks.
thanks!
Yup. I had the same problem. I named traffic vance “TV” and the icon wasn’t showing up. It wasn’t until I looked at the code that I discovered it uses some simple matching to figure out the network.
Thanks for reading and commenting!
Awesome post! It’s all in the details!