https://apidocs.klaviyo.com/reference/javascript-client-library
All of the JSON on that page is invalid.
One example of many.
_learnq.push(['identify', {
'$email' : 'thomas.jefferson@example.com',
'$first_name' : 'Thomas',
'$last_name' : 'Jefferson'
}]);
// should be
_learnq.push(["identify", {
"$email" : "thomas.jefferson@example.com",
"$first_name" : "Thomas",
"$last_name" : "Jefferson"
}]);
The array key is unlikely to matter but after the fits I have been having a little pedantry is in order.
Please fix that page and maybe task someone with the scut work job of cleaning up these types of issues which are all over your documentation.
Thank you,
Alex of the CableWholesale IT etin.
Best answer by Dov
View original