We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP version: 8.1.13 Magento version: 2.4.6 Klaviyo extension version: 4.1.4
If customer is not already identified, it will be identified now by using email that customer entered in the email field.
Custoomer is not identified because window.klaviyo.isIdentified() returns promise, but it is used as boolean in if statement.
It seems that changing
if (!window.klaviyo.isIdentified()) { window.klaviyo.push(['identify', { '$email': self._email }]); }
to
window.klaviyo.isIdentified().then((isIdentified) => { if (!isIdentified) { window.klaviyo.push(['identify', { '$email': self._email }]); } });
is solution for this problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment details
PHP version: 8.1.13
Magento version: 2.4.6
Klaviyo extension version: 4.1.4
Steps to reproduce
Expected result
If customer is not already identified, it will be identified now by using email that customer entered in the email field.
Actual result
Custoomer is not identified because window.klaviyo.isIdentified() returns promise, but it is used as boolean in if statement.
Additional information
It seems that changing
to
is solution for this problem.
The text was updated successfully, but these errors were encountered: