jasonzissman / TimeMe.js

A JavaScript library to accurately time how long a user views a web page, disregarding idle time and time when the tab or window is minimized.
MIT License
592 stars 124 forks source link

How to get appid? #43

Open Mohamedyousif opened 7 years ago

Mohamedyousif commented 7 years ago

very nice work, it helped me too much. I'm trying to send the time spent to the server through the web socket protocol but I don't know what is the app id that I must provide it with the websocketOptions how to get it ?

letharion commented 7 years ago

I'm guessing the "insert-your-made-up-app-id" means you make it whatever you want. It's just bundled up in the payload, probably so you can distinguish several different sources from each other.