Web Analytics - Location (Country, State)

Card Puncher Data Processing

About

Location is a dimension of a visit that can be defined in a hierarchical level as:

  • country
  • state
  • city
  • postal code

Management

Ip to Country

The Ip of a visit can be mapped back to the country with a process called geolocalization.

Example with an JQuery ajax to the great https://ip2c.org/ ip to country service.

$.ajax(
	'https://ip2c.org/self',
	{
		success: function (data) {
			console.log("The data that we get from Ip2C: "+data);
			let countryCode = data.split(";")[1];
			let countryDesc = data.split(";")[3];
			console.log('Your country is '+countryDesc+" ("+countryCode+")");
		}
	}
)





Discover More
Card Puncher Data Processing
Ezoic

(Ez) tracker page. is installed on website as a forward proxy which means that the request seems to come from the publisher website. uses the following endpoint /ezoic/e.gif...



Share this page:
Follow us:
Task Runner