Last active
April 5, 2018 17:02
-
-
Save erik4github/6860ec90f1d65de010cc52e70d59bea9 to your computer and use it in GitHub Desktop.
Identify Wistia video play audience based on Drip email address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window._wq = window._wq || []; | |
window._wq.push({ | |
id: "_all", | |
onReady: function(video) { | |
video.bind("play", function() { | |
_dcq.push([ | |
"identify", | |
{ | |
success: function(response) { | |
video.email(response.email); | |
} | |
} | |
]); | |
return video.unbind; | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment