M
M
Michael2019-01-30 19:11:50
CMS
Michael, 2019-01-30 19:11:50

How to show prices for services only from a specific region?

There is an idea to implement on the site:
A visitor from Moscow and Moscow Region comes in - on the page of a certain service where he is located, its cost is shown (construction topics)
And if a user comes from another region or even from another country, then he will not be shown any price offers and even hide price list.
It's just that the company works strictly in M ​​and MO and it makes no sense to show the price tag to everyone at random.
At present, there is a system for recording visits Piwik (Matomo) - it determines the geolocation of the visitor with an acceptable for our purposes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
stratosmi, 2019-01-30
@happy-cat

But no way. People from mobile phones (on which more than 60% of traffic) are generally determined by half of the country either from St. Petersburg or from Moscow.
Assume initially by IP. But, bearing in mind that this is unreliable, be sure to immediately ask the region.
I don't think.
How did you determine this accuracy?
By IP - unreliable.
Geolocation - often prohibited in the browser.
There are no other legal methods.
Considering that every fifth Russian lives in Moscow or the Moscow Region, everything is not so scary. The probability that it was he who visited the site, this every fifth one, is quite high.
Show Moscow prices.
Do not forget to mention that they are from Moscow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question