• rodcul

    (@rodcul)


    I noticed none of the profiles created in Klaviyo via the “Started Checkout” event had the phone number (just email and name). Events logged via “Order Placed” event however DO have the phone…

    I am currently forced to have a second plugin installed “WooCommerce Cart Abandonment Recovery by Cartflows Inc” then export/import the phone numbers into Klaviyo.

    I am in the process of deploying klaviyo to a large woocommerce site that has around 300-500 orders/day and this is a critical feature for us.

    I discussed this issue around a year ago via the support chat on the Klaviyo dashboard.

    Would be great if we could get this bumped on the roadmap. THANKS!

Viewing 1 replies (of 1 total)
  • Plugin Author klaviyo

    (@klaviyo)

    @rodcul I will ping the engineering team regarding this matter. In the meantime, where you have the Klaviyo plugin installed below is the injected JS file as part of the checkout process gathering the customer information that is entered:

    [wordpress server working directory]/wp-content/plugins/klaviyo/includes/js/wck-started-checkout.js

    you will find lines that capture the first_name and last_name fields like below:

    var first_name = jQuery('input[name="billing_first_name"]').val();
    var last_name = jQuery('input[name="billing_last_name"]').val();

    You can add a line to capture phone number and then subsequently set it as part of the params dict:

    params["$phone_number"] = phone_number;

    I hope this makes sense. Let me know if you have any questions. Hopefully this should get you the functionality without having to use the 3rd party tool until we incorporate the change to the Klaviyo extension.

Viewing 1 replies (of 1 total)
  • The topic ‘Save email AND/OR phone on “Started Checkout”’ is closed to new replies.