Events not getting recorded

I am following the developer guide and using Javascript API to push the events back to Piwik.

Release of Piwik 2.16.4

http://piwik.org/docs/event-tracking/#tracking-events

Even tried to send the hard-coded values, but it doesn’t work. The events are not recorded under Actions -> Events

_paq.push([‘trackEvent’, ‘Documentary’, ‘Play’, ‘Thrive’]);

Can someone help me to point out how to send events.

I even saw the access.logs, there is no POST request which is sending the data that I am pushing in the array.

Can you check with FireBug if there are any JS errors? Do you see any calls to the back end?

Are there any PHP errors in the log?