Avatar of brothertruffle880
brothertruffle880
Flag for United States of America asked on

Web site hosting: Determining the geographic coordinates of visitors to a web site? Their IP Addresses?

How does one determine the geographic coordinates of a visitor to a web site?
Google Adwords can narrow a person's clicks to a particular zip code. How accurate is this?
Clickcease.com does the same thing?  And yet, when I examine the visitor logs of --let's just say as an example-- 1and1.com, There is no geographic coordinate information there.  Where is Google and Clickcease getting this data?
How is Google adwords able to do this?
How is Clickcease able to do this?
Web DevelopmentWeb ServersNetworkingDNSNetwork Security

Avatar of undefined
Last Comment
Scott Fell

8/22/2022 - Mon
giltjr

They are looking up who IP address is assigned to and assuming the location based on who "owns" that address.

Example: They company I work for located in the USA and we have a office in England.  At one time we had a private WAN connection and our only Internet connection was in the USA office.  So when the employees accessed web sites, they would have the IP address assigned to our USA office, so it appears as if they were in the USA.  So they would get ads for services that were no where near them.

If you look up the host name 1and1.com it resolves to 74.208.255.134.  If I do a whois on that address I get that it is assigned to:

OrgName:        1&1 Internet Inc.
OrgId:          11INT
Address:        701 Lee Rd
Address:        Suite 300
City:           Chesterbrook
StateProv:      PA
PostalCode:     19087
Country:        US

So if somebody from 1and1.com was accessing a web server that I ran from that IP address, I would detect they were there.

Just as a F.Y.I, there are DNS servers that also do geo location lookup so that they will send you to a different IP address depending on where the DNS server thinks you are located.
Dave Baldwin

IP addresses belong to ISPs and hosting companies, almost never individuals.  If you only use an IP address, you will get the location of the company, not the person.  However... Google and others keep track of much more information than that to locate a person.
brothertruffle880

ASKER
in Google's and www.clickcease.com's reports they determine the location of people who click on ads down to the block or zip code, how do they do it?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Dave Baldwin

They keep track of a lot more than just IP addresses.  Anything you enter into a Google account is available to Google to identify you.  They correlate everything they collect in order to identify you for their advertising services which is where they make their money.  They can also correlate with all the public databases that list people by name and address.

You should also know that they don't about everyone, only those that have revealed their info somehow.
ASKER CERTIFIED SOLUTION
Scott Fell

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
brothertruffle880

ASKER
Hi Scott:
Yes.  How can I do it?
Company "A" -- a local shop-- wants to know the location and other details of who's clicking on their ads. The more accurate, the better.
That's the scenario.
giltjr

Following the links that Scott gave in his last post.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Scott Fell

Can you explain in short detail what you are doing?

Are you serving ads? or are they buying ads from a 3rd party like google?  If that is the case, use google analytics and adwords to get that information.

If you are serving ads, use a 3rd party service like I suggested.  If you need help with that portion, I suggest opening another question with specifics as to which programming language you are using and provide sample code with what you tried on your own and errors.  If you can't get that far, then you may want to consider using Gigs to hire somebody to do it for you https://www.experts-exchange.com/gigs/ or Live to have short term assistance on a specific part of  your code you need help with. https://www.experts-exchange.com/live/
brothertruffle880

ASKER
Hi Scott.  I'm using Google Ad words but want to limit my ad's visibility to a small geographic region.  (by zip codes).  Reason I'm limiting my google ad words campaign to a small area?  I don't want to drive a hundred miles for a job.
I was getting fraudulent clicks on my ads and wanted to try and narrow down where these fraudulent clicks were coming from
I subscribed to clickcease which did a good job of localizing the fraudulent clicks and was very interested in knowing how they were able to locate the pranksters/SOB's.
I suspect it was a competing business that was engaging the fraudulent clicking of my ads.

Rather than paying for this service.  I posted the question because I thought that perhaps I could code something that would accomplish the same thing.  I'm not a half-bad programmer myself!

Thanks.
brothertruffle880

ASKER
This was useful.  Thanks again Scott!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Scott Fell

Adwords already has the ability to limit ads by geography.  If you are buying ads for google to display on other sites, your only option is to filter in Adwords where those ads show up.

In google analytics you can view the location of your visitors and if you link up adwords to analytics you can see exactly where they came from.  Nothing else needed.

If you feel you have fraudulent clicks, you need to let Google know.
https://support.google.com/adwords/answer/42995?hl=en
https://www.google.com/intl/en_ALL/ads/adtrafficquality/

Adwords has other filters that can be used and may be not noticed.  Many people fail using adwords because it feels like it should be easy but it is hard to get right.