An open API service indexing awesome lists of open source software.

https://github.com/emadasefi/page-view-count-javascript

Page ViewCount Function JavaScript Call in HTMl Script
https://github.com/emadasefi/page-view-count-javascript

Last synced: about 1 month ago
JSON representation

Page ViewCount Function JavaScript Call in HTMl Script

Awesome Lists containing this project

README

          

Page ViewCount Function JavaScript Call in HTMl Script
====================================
▚ A beautifully simple to set up Function that gives site visitors and site owners the ability to quickly and easily see how many people have visited that page or post. This function records the date of visits to the "moment-jalaali"

▚ Just put the script function in the format HTML so that a record is saved in your MongoDB with each user visit.

## ▚ simple Function Call in HTMl Script :

```html


(function () {
axios('https://***/updateViewCount/WebSiteName').then(resp => {})
})();
(function () {
axios('https://***/updateViewCount/PageName').then(resp => {})
})();

```

#
Please Leave Your Comments if You Got Some Trouble.