Welcome to WebmasterWorld Guest from 23.23.46.20

Forum Moderators: open

Cloaking for Conversion Tracking

Based on referrer and IP location

   
3:12 pm on Mar 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, I know a bit about cloaking, but not from the perspective I want to use it for.

I'm looking for a way to cloak based on referrer and ip location.

i.e.

If referrer = vvv and ip is from xx country, show version A
If referrer = zzz and ip is from xx country, show version B
If referrer = yyy and ip is from xx country, show version C
If referrer = ALL ELSE (aside from vvv, zzz and yyy) and ip is from xx country, show version D
If referrer = ALL ELSE (aside from vvv, zzz and yyy) and ip is from any country besides xx country, show version E

Can anyone even remotely point me in the right direction?

I don't care which version the engine sees - for conversion tracking only.

7:47 pm on Mar 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I can't think of any ready made software that does this. You'd have to roll your own script.
2:01 pm on Mar 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>>You'd have to roll your own script

Any suggestions on how to threads here or sites elsewhere? Thanks. :-)

5:33 pm on Mar 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Heck I dunno. Let's start one. What language you working in? I could probably give you some basic code in Perl or PHP.
9:45 pm on Mar 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First you need an IP2Country database. Hit dnsstuff.com and follow their geolocation link (just above the "City From IP" text box) for a couple sources.

Then it's simple. Check the IP in the database to get the country, grab the referrer and run them through your IF statements and serve up the appropriate page.

Does this help? Let me know if you need more...

4:00 am on Mar 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



jamesa, are you new? You know me. How much of what you said do you think I understood? ;-)

Ok, I'm not adverse to learning - but I probably have a deep curve only knowing HTML and all. My programmer is otherwise engaged and I've yet to find (or until now, need) a replacement. But, I've never been adverse to learning something new... just tell me where to go and what to read. Or you can tell me to go hike somewhere too. ;-)

2:01 pm on Mar 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> I could probably give you some basic code in Perl or PHP.

Really, I mean it.

2:04 pm on Mar 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, and then I can learn enough to edit it? (Lucky for me, I am fairly smart and a fast learner)... I can't be the only one - I'm just the only one admitting it. :)

I'm game V - lets see if I can learn something new. :)

 

Featured Threads

Hot Threads This Week

Hot Threads This Month