How to detect the country and city of a user accessing your site?

后端 未结 3 1077
长发绾君心
长发绾君心 2021-02-04 17:48

How can you detect the country of origin of the users accessing your site?

I\'m using Google Analytics on my site and can see that I have users coming from different re

3条回答
  •  生来不讨喜
    2021-02-04 18:16

    Get the visitor's IP and check it with a geolocation web service (or purchase a geolocation database if you're keen to host that determination in-house).

提交回复
热议问题