Hi there, below is the code we use to add a new email to our Klaviyo account. What do we need to change to get them added to a certain list? The API docs are a little over our heads.
<script>
var _learnq = _learnq || [];
_learnq.push(('identify', {
‘$email’ : kyle@smp.com,
‘$source’: footer
}]);
</script>
<script type="application/javascript" async src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=APIKEY"></script>