As soon as the boss does its first attack click on the attack style the boss used. The timer assumes you clicked one second after being hit.

In the case of a trample attack press the 'I got trampled' button.
Turn sound on for audio notification
Click here for a popout version that you can use easier (popup)