How to setup trackevent through JS in Baidu Event Tracking, a working guideline.
<script> var _hmt = _hmt || ; </script>
When Multiple Baidu Tongji Script is Used
<script> var _hmt = _hmt || ; _hmt.push(['_setAccount', '0123456789ABCDEF0123456789ABCDEF']); </script>
It can be found in the standard script Baidu provides.
hm.src = "https://hm.baidu.com/hm.js?SideID";
<script> _hmt.push(['_trackEvent', category, action, opt_label, opt_value]); </script>
Go to relevant page and setup the trackevent so that it will appear in the panel.