homepage Welcome to WebmasterWorld Guest from 54.211.157.103
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Marketing and Biz Dev / Cloaking
Forum Library, Charter, Moderator: open

Cloaking Forum

    
Cloaking for Conversion Tracking
Based on referrer and IP location
sugarrae




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

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.

 

volatilegx




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

I can't think of any ready made software that does this. You'd have to roll your own script.

sugarrae




msg:678808
 2:01 pm on Mar 6, 2006 (gmt 0)

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

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

volatilegx




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

Heck I dunno. Let's start one. What language you working in? I could probably give you some basic code in Perl or PHP.

jamesa




msg:678810
 9:45 pm on Mar 6, 2006 (gmt 0)

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...

sugarrae




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

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. ;-)

volatilegx




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

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

Really, I mean it.

sugarrae




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

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. :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Marketing and Biz Dev / Cloaking
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved