-
-
Save nielsfogt/8d0de9a23bf9158b2f9f6c414d0b7a07 to your computer and use it in GitHub Desktop.
This file contains 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
form.onSuccess(function(vals) { | |
//The vals object contains all the form contents. | |
var visitorId = Intercom("getVisitorId"); | |
var payload = JSON.stringify({ | |
anonId: visitorId, | |
vals: vals | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment