Tracking using Sleeknote or Drift

Rune Juul-Stokholm Updated by Rune Juul-Stokholm

Tracking forms using Sleeknote or Drift


If you are using Sleeknote to collect leads then here is how you can ensure we track the Sleeknote popups. You might want to consider changing the event name from 'formSubmitted' to what makes sense for you.

document.addEventListener('sleekNote', function (e) {
if ( == 'submit' && {, { email: });'formSubmitted');
}, false);

You can read more information about how Sleeknotes Event Emitter works here.


If you have Drift chat on your website and would like identify users when an email is captured as part of a campaign. Then here is a snippet you can use to ensure the user is identified within Dreamdata.

Note: The script has to be loaded after your Drift script. Example you could paste in the below script as is just after your Drift script in your header. Which will identify users automatically and throw an chat_converted event.

drift.on("emailCapture", function(payload) {
if ( && && {, {

You can read more about how to receiving information from Drift here.

How did we do?

Anonymizing IP

How to track your emails?