Skip to content

Send logs and events from JavaScript apps to Honeybadger Insights

Instrument your JavaScript application, either backend or frontend, to send your logs automatically to Honeybadger Insights. More information can be found here.

If you have custom events you’d like to track, use Honeybadger.event() to report them to Insights:

Honeybadger.event("button_click", {
action: "buy_now",
user_id: 123,
product_id: 456,
});

More information about sending events to Insights from your JavaScript apps can be found here.