Capturing Drift events in FunnelEnvy


If you're using FunnelEnvy PRO to optimize your Drift playbook delivery, you'll need to track engagement, email submissions, and meetings booked. Here's how to do that:


window.drift.on('startConversation', function(){
  window.funnelEnvy.push({ event: 'Drift conversation started' });
});

window.drift.on('emailCapture', function(){
  window.funnelEnvy.push({ event: 'Drift email captured' });
});

window.drift.on('scheduling:meetingBooked', function(){
  window.funnelEnvy.push({ event: 'Drift meeting booked' });
});


Add this code to your site, set one of these goals as the Conversion Event for your predictive campaign, launch and you're done.