Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
%%[
var @emailAddress
/* get email address from the sendable data extension */
set @emailAddress = AttributeValue("email")
]%%
<script>
// get the value of the @emailAddress variable
var email = "%%=v(@emailAddress)=%%";
console.log(email);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment