Get Started

Tutorial: Log all browser-side Drift events for debugging

If you’re using Drift, a Conversational Marketing Platform, you might find it helpful to use events in Drift to fire into other systems or use it to trigger actions elsewhere. While Drift does have a robust server-side API, it also has quite a few events that can be captured browser-side and logged right on the console.

We’ve made a quick snippet of code you can copy and paste right below your Drift install code. This snippet logs all of Drift’s events in real-time in your browser’s console. It’s a great way to familiarize yourself with Drift’s different hooks, debug errors, and determine the shape of the data they send.