View Counter for Web Viewer Prototype?

Has anyone ever implemented something like a counter that increments each time the web viewer is loaded from somewhere? I am hosting the web viewer on our server and would like to know how many times a prototype has been viewed. Is this somehow possible?

If the server logs every access, the best way would be to look in the server logs and count the accesses to a particular URL (for example our index.html or viewer.html).

Thanks. And is there a way to have those printed in the prototype?

no, the logs are not visible to the public, and therefor the web viewer (which only runs inside the clients browser) does not have access to it. You would need something that runs on the server, and returns the number.

1 Like