Questions tagged [geotargetting]
43 questions
34
votes
4 answers
how to redirect domain according to country IP address
I made a site it with some subdomains; according to the country's IP address the user is supposed to be automatically redirected to corresponding subdomain.
Example :
Main site is abcd.com
Suppose some one from India typed this url abcd.com,…

user1288065
- 341
- 1
- 4
- 6
4
votes
2 answers
Geotargeting Page Posts with the Facebook API
I'm trying to geotarget wall posts to my fan page using the Facebook PHP SDK.
The following snippet successfully posts a message to my wall, but the geotargeting isn't taking.
I'm new to programming and I've done my best to follow the documentation…

Duplosion
- 255
- 3
- 10
3
votes
2 answers
Drupal only display certain content based on location
I need to be able to only display certain content/nodes based on where a user is located in the world. For example, if the user is from the US, they should see different results than someone from Europe.
Ideally I would be able to tag each node with…

betamax
- 13,431
- 9
- 38
- 55
3
votes
2 answers
Geo Targeting Posts in Facebook using Graph API
I’ve been trying to post geolocation-targeted status updates on a Page through the Graph API, so far with limited success.
Using the Facebook graph api, I’ve been successfully able to geo-target countries, but not cities or locales.
Trying any of…

JiminyCricket
- 7,050
- 7
- 42
- 59
3
votes
5 answers
Redirect depending on the Country?
We basically have 2 sites ( Java /JSP / Apache Webserver) :
something.ca & something.com
The .ca is canadian content, and the .com is american content.
We need users to be redirected based on the ip addreess.
We want US users to get the .com site…

bluegene
- 5,767
- 8
- 26
- 18
3
votes
1 answer
How can I geo target ads/banners with javascript?
Do you know of any way to do it? real example...?
I am looking for a free service like maxmind or others (I really don't care what) and I would like to have a different ad for US visitors.
Thanks a lot!
2astalavista: Your example works fine. This is…

user1341839
- 75
- 1
- 13
2
votes
0 answers
Is it possible to Geo-Target Facebook tabs through facebooks API?
There's a post addressing this over a year ago, but with all the new changes to the API and facebook constantly putting out new things, I was wondering if anyone knew of a way to Geo-target a facebook tab using Facebook's built in functionality?

Thomas
- 3,664
- 3
- 15
- 12
2
votes
2 answers
block hostnames and IPs with php
I want to block some hostnames and ips from accessing my website, I use this codde to =block only one hostname or ip:

Jawad Mira
- 105
- 9
2
votes
3 answers
MaxMind GEO_IP Redirect
been having this problem for a while! anyway i have downloaded Maxminds GEOIP php module and uploaded it to my server then I put this section of code into my index.php page

Phillip Dews
- 338
- 6
- 25
1
vote
2 answers
City Wise Geo targeting (The right way.)
I'm familiar with country-wise geo-targeting, but I was wondering about city-wise geo-targeting since I was looking at a site that would be looking at users' IPs and classifying them based on their city (i.e major cities like Los Angeles, New York,…

parastar
- 11
- 1
1
vote
3 answers
Convert country code to country full names
I am using the ipinfo.io library to check the user's country and everything is working fine.
I am using this code to pull the data
$.get("https://ipinfo.io?token=0000000000", function(response) {
console.log(response.ip, response.country);
},…

Wojciech
- 103
- 1
- 3
- 12
1
vote
1 answer
How to display an external content in my website using javascript
This is my first post!
I have a question about javascript...here is my code:
Geolocation Demo
Geolocation Demo
Latitude: 0.00 Longitude:
Chris
1
vote
1 answer
Does automatic redirection/geo-location have impact on my SEO? - Detect if its a spider that is accessing site
I have a site who's search ranking has plumetted. It should be quite SEO friendly because its built using XHtml/CSS and has been run against the SEO toolkit.
The only thing I can think that may be annoying Google is
The keywords are the same…

AJM
- 32,054
- 48
- 155
- 243
1
vote
1 answer
Load Facebook adinterests list in a single API call
Is there a way to load multiple adinterests by IDs in a single API call?
Here's situation:
We have multiple adinterests for ads targeting campaign. For example, we are targeting users that are interested in:
music (ID=111)
arts (ID=222)
museums…

lubosdz
- 4,210
- 2
- 29
- 43
1
vote
0 answers
Revive Adserver and Geotargeting by City with GeoLiteCity.dat
I'm trying to set up Geo Targeting for my Revive adserver, but have one question.
I'm using the GeoLite City and GeoLite Country files from Maxmind (the .dat files) and have uploaded them to my server and added them in the Maxmind plugin…

jenseo
- 62
- 7