Archive for August 14, 2009

How to hijack traffic from the idiot that ripped your LP and left your p202 code on the page

This is more common than you think. Some idiot outright copies your landing page, but doesn’t remove your Tracking202 code. I mean sheesh, if a guy’s gonna rip an LP, he should realize he needs to rip out all javascript that he doesn’t understand.

Basically he leaves this line in the lander:

<script src="" type="text/javascript"></script>

Well, there’s an easy way to redirect all the visitors to your personal lander, and steal his traffic.
First, figure out if your code goes to a simple lander or an advanced lander (within p202). If it’s a simple lander, edit record_simple.php or if it is an advanced lander, then edit record_adv.php file. These files are located in ~/path/to/tracking202/static/

At the bottom, right before the line that says “t202initB();” just add the following:

if (document.URL == "")
window.location = "";

Bam! All visitors to his stolen LP are redirected to your LP.

You could do more clever versions, I.E. filter against his IP address, which you probably can figure out because his IP would be the first one you see for his site in your Tracking202 Visitor History.

I know some guys that have made a few hundred dollars before the lander gets fixed or taken down.

credits to: ricdes for testing, gxdia & tiz & mushie for the js code