Jump to content
vasmasal

Geotargeting

Recommended Posts

Is there any add-ons on Geotargeting?

 

I would like to make targeted information for different regions depending of geo-position of users (by IP and so on).

 

I need under each product a relevant information is been shown regarding to the user's region.

Share this post


Link to post
Share on other sites

Are the users logged in (you know their country) or are they guests (people just browsing).

 

If logged in;  get users country, display relevant message

If not logged in; there are databases (and APIs) of IP <-> country, so do that and display the message.

 

Potential problems;  

APIs are generally rate limited.  If you have a busy site this could be problematic.

Databases are large and go out of date.

 

I'd suggest;

 

logged in; easy, take the country, display the message

not logged in;  display all available messages for all countries ---or--- allow not logged in people to select their country which then shows the relevant message.

Edited by burt

This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

I am also looking at specific geotargeting on separate IP's - It seems to be a very manual process... 

Any automated generators out there?


Sean M Clancy

Share this post


Link to post
Share on other sites
On 7/14/2016 at 3:55 PM, burt said:

-or--- allow not logged in people to select their country which then shows the relevant message.

Hello, is there a plugin to add this option ? maybe a popup where a user can select his country before he proceed. thanks

Share this post


Link to post
Share on other sites

There is already code in place to, sort of, determine the language to be used. I say sort of because it depends on a couple of things and is not always accurate. I use code in my View Counter addon that determines the country more closely. But it uses a free IP database and that database is not complete or updated too often. You can pay for a full version but I don't think the cost is justified.

Both of these methods will work to a limited degree. Both would also require additional code changes to do what you want.  I don't care for making a customer click a popup. That seems a non-user-friendly option, though such popups are common nowadays.

Share this post


Link to post
Share on other sites

I really prefer a separate country and language selection like all big brands do nowadays


KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×