Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Changing profile.geolocation.state for testing purposes

tonyl62487480
Level 1
Level 1

Is it possible to add a URL parameter to set a geolocation state for testing purposes which overrides the stored geolocation.state that has been set in the user profile?

We currently have an A/B test that should deliver bespoke content depending on which state has been identified in the user profile but we are unable to test any variations apart from the content for our current state/location.

1 Accepted Solution
Jennifer_Huynh
Correct answer by
Level 3
Level 3

What version of mbox are you using?  If you using mbox.js you can override your IP address with an IP address from a different location and use the mboxOverride.browserIP url parameter.  So if your company is in the UK, but your global campaign targets visitors in Aukland, New Zealand, use this style of URL assuming that 60.234.0.36 is an IP address in Auckland: to over http://www.mycompany.com?boxOverride.browserIp=60.234.0.36

If you are using at.js, you can use the QA link to view the experience.

View solution in original post

2 Replies
Jennifer_Huynh
Correct answer by
Level 3
Level 3

What version of mbox are you using?  If you using mbox.js you can override your IP address with an IP address from a different location and use the mboxOverride.browserIP url parameter.  So if your company is in the UK, but your global campaign targets visitors in Aukland, New Zealand, use this style of URL assuming that 60.234.0.36 is an IP address in Auckland: to over http://www.mycompany.com?boxOverride.browserIp=60.234.0.36

If you are using at.js, you can use the QA link to view the experience.

View solution in original post

peterhartung
Employee
Employee

Our documentation has many other details around Geolocation:

Geo

The above comment from Jennifer has a slight typo.  The correct parameter is "?mboxOverride.browserIp=".  Jennifer should have included the "m" at the start of the parameter.