Skip to content

Instantly share code, notes, and snippets.

// loading //cdn3.optimizely.com/js/geo4.js logic
n.getIP = function() {
return i.makeAsyncRequest(o, u).then((function(t) {
return t.ip;
}));
}, n.getIPDerivedGeolocation = function() {
return i.makeAsyncRequest(o, u).then((function(t) {
return t.location;
}));
};