Hi,
This is my first Klaviyo integration.
I’m working on a custom integration and trying to extract an email address from the cookie in a user’s browser. I need the email address so that I can then be sure I am updating the same profile with server side APi calls.
In this document
https://help.klaviyo.com/hc/en-us/articles/360034666712-About-Cookies-in-Klaviyo
it says that I can retrieve this with the following code:
_learnq.identify().$email
This is returning a jQuery error saying that _learnq.identify is not a function.
What am I doing wrong? Or is there another, better way for a server side API call to identify a user that has been cookied on a previous visit to the site (so the cooie is the only way to identify them)?
Cheers,
Crac