Write an EventLogger that sends information to the server when a div is clicked, using a utility similar to fetch.
The first question is to prepare the payload, put it into the event, and call it.
The second question is how to handle calls between batch intervals if there is a delivery interval.
The third question is how to handle a situation where the second request comes in while the previous request is still running and needs to wait for the first one to finish.
Feel free to discuss ideas.