Device-Based Ads and App Binary
Last updated
Last updated
// Detecting users device or operating system from the user's IP
$.get("https://ipforensics.net/api/v1/origin?apikey=APIKEY", function (response) {
if (response.meta_data.device_info.os.name == "Windows") {
alert("You are using windows operating system.");
}
}, "jsonp");