On this example page, we demonstrate how you can send a custom event with javascript and how you can use counting.
Please view source in your browser for the code.
This box is an iframe with the API data, and will refresh once the above button is clicked
This button will redirect you to the Opentracker demo interface and will show you your own event-stream