+ 4
How can i write a code for html which will show how many people visited my web site
5 Answers
0
Google analaytic is better option.
+ 2
first of all html is not a programjng language thus you cant describe any functionality in it.
for your purpose you can use any back end language like js ,php ,python many more . and when web site server gets a open request just increment a counter.
+ 1
Create an goo.gl link points to a simple page.
Make an iframe to load this shortener goo.gl.
Place iframe away from view port.
Check out the goo.gl analytical report for number of visits.
For this iframe,
https://code.sololearn.com/WP0slXVmHr5C/?ref=app
The visitor report is on
https://goo.gl/#analytics/goo.gl/2RTvhG/all_time
+ 1
In that case you need server side language to save data and ip address to display similar output
0
but i have seen a webpage displaying total
number of visit.