How to track web application using matomo?

we are using to track our site using matomo. we have added the matomo base code using our plugin integrate with siteid. But what we tracked like events, those events are not firing.
Please check this issues.