Code To Tell Which SE Brought Your Traffic
<?php
$referrer = $_SERVER['HTTP_REFERER'];
$thereferrer = "";
if (substr_count($referrer, "yahoo") > 0) {
$thereferrer = "yahoo+";
}
if (substr_count($referrer, "msn") > 0) {
$thereferrer = "msn+";
}
if (substr_count($referrer, "google") > 0) {
$thereferrer = "google+";
}
?> <a href="http://www.incentaclick.com/nclick.php?id=XXXXX&cid=XXXX&sub=<?php echo $thereferrer; ?>mysupersite">
I also have a wordpress plugin that I wrote that does the same thing for me in my posts. You can download it here with no conditions.
Wordpress Admin Username Plugin
If you want to use it for something else, just change the subid text that it needs to look for.
Enjoy!
I'm tired of my signature... Deleted.