Equivalent method for mboxOverride.browserIp in AT.js 2.3.0.

HariharanSubra1 29-04-2020

Hi All,
I am using mboxOverride.browserIp for validating the geo location activity. Currently we are planing to upgrade the at.js version. In the new version 'mboxOverride.browserIp' is not supporting. Can any one help me on this?

Thanks,
Hariharan S

at.js 2 browserIp Geolocation mboxOverride

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (4)

Answers (4)

ryanr79035901
Employee
04-05-2020

Hi @HariharanSubra1

One option that has worked for me is using the X-Forwarded-For header to spoof different geo's IP addresses to QA your Target activities using geo targeting. You can find extensions for Firefox or Chrome to allow you to easily apply this header to your page requests. Here's one I've tried: https://addons.mozilla.org/en-US/firefox/addon/x-forwarded-for-injector/

Also, if you want to manually fire a request to Target via the Delivery API (same API used by at.js 2.x) you can just add the x-forwarded-for header in a curl like this:

curl 'http://rr.tt.omtrdc.net/rest/v1/delivery?client=YOURCLIENTCODE&sessionId=68fcd64a1f7844aa970001&version=2.2.0' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0' -H 'Accept: */*' -H 'Content-Type: text/plain' -H 'X-Forwarded-For: 192.223.241.21' --data '{"context":{"channel":"web","address":{"url":"http://sb.com/plain_site/page_three.html"}},"execute":{"pageLoad":{}}}'

Change the client, x-forwarded-for, session ID, and url and you can check your own test.

Hope that helps.

-Ryan

karand53490614 20-05-2020

@HariharanSubra1 mboxOverride.browserIp for validating the geo location activity does not work with at.js 2.x, if you want to test this for a geo, you could use a VPN which points to that particular location and test this.

 

Regards,

Karan

nnakirikanti 01-05-2020

I use VPN as an alternative, Adobe Target decommissioned this feature from at.js 2.x.

 

Free VPN for certain Geo-locations 

  1. Windscribe ( Usage upto 2GB Free)
  2. ZenMate VPN (free for certain locations)
  3. hola (Beware some companies block this)
nnakirikanti 01-05-2020

As this feature is decommission by Adobe with at.js 2.x, other alternatives  i suggest to use VPN or DNS Proxy

 

Free VPN for certain Geo locations

  1. ZenMate Free VPN 
  2. Windscribe
  3. Hola Free VPN (Beware some companies blocks this).

DNS Proxy

  1. Unlocator (free trail and paid version but works like champ https://unlocator.com/)

 

Let us know if anything works for you.