• Resolved nomanzahid102

    (@nomanzahid102)


    The site is integrated with “klaviyo” which is email autoresponder/automation tool.
    What it does, if someone fills the checkout form, it automatically gets the data from the fields (first name last name email phone) and adds it as a contact/profile to my klaviyo account. Then it can send abandoned cart emails.
    The data from the fields is being collected even before the user clicked the button.
    Klaviyo have WP plugin installed.

    The problem with it is this…
    When i fill my name with English characters, it gets the data with no problem.
    When i fill it in Hebrew language, it not transfers the data from the fields and the profile is not being created in klaviyo.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author klaviyo

    (@klaviyo)

    Hello – Thank you for reporting this! Our engineering team is taking a look – we’ll keep you updated.

    Thread Starter nomanzahid102

    (@nomanzahid102)

    Thanks for your replay Klayvo

    I find the solution and it’s working well now. Change the js function from the following path
    klaviyo\includes\js\wck-started-checkout.js
    function setKlaviyoCookie(cookie_data) {
    //comment this line
    // cvalue = btoa(JSON.stringify(cookie_data));
    cvalue = btoa(unescape(encodeURIComponent(JSON.stringify(JSON.stringify(cookie_data)))));
    var date = new Date();
    date.setTime(date.getTime() + (63072e6)); // adding 2 years in milliseconds to current time
    var expires = “expires=” + date.toUTCString();
    document.cookie = klaviyo_cookie_id + “=” + cvalue + “;” + expires + “; path=/”;
    }

    • This reply was modified 2 years, 4 months ago by nomanzahid102.
    Plugin Author klaviyo

    (@klaviyo)

    Amazing – thank you for sharing that. I’ll share that with the engineering team.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Send Data in Hebrew language’ is closed to new replies.