0

How can I get number of users visiting my web page are using mobile or desktop without using any tools?

17th Sep 2020, 7:28 AM
Code_hack
Code_hack - avatar
6 odpowiedzi
+ 4
Ashwin Maurya , Do you think this is not code related? 🤔 How?
17th Sep 2020, 7:36 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 3
Okay sorry my bad i thought hes asking about his profile page in sololearn
17th Sep 2020, 7:38 AM
‎Ashwin Maurya
‎Ashwin Maurya - avatar
+ 2
Code_hack , I think using google analytics is a good solution to your problem. See I have never used analytics on my site so I can't tell you how to use it. but you'll certainly find many tutorials on internet. https://analytics.google.com/analytics/academy/course/6 https://crossbrowsertesting.com/blog/development/use-google-analytics-find-devices-customers-use
17th Sep 2020, 7:42 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 1
Code_hack , Welcome. Google analytics is free for small businesses and individuals. That's why I was recommending it. I am not sure how to do it without using analytics. Maybe you can use database on backend. Get the device type using this method: https://stackoverflow.com/a/3540295/12485639 Whenever user visits the page send http request to backend and update DB accordingly. See I'm just guessing. you can ask someone more experienced :)
17th Sep 2020, 8:20 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
0
Thanks Omkar, I don't want to use any tools like that. And the site can be accessed within a vpn only.
17th Sep 2020, 8:07 AM
Code_hack
Code_hack - avatar