Get Billing Email from WooCommece Checkout and Pass to Fullstory JS

I’m using WooCommerce on WordPress where I’ve integrated Fullstory snippet in the header of my site.

I’ve enabled checkout for guests, that is, they can check out without creating an account on my website.

What I want to achieve is to get the name and email from the billing details of the customer from a successfully completed checkout form (i.e., new Order). I then need to pass this name and email to the Fullstory.identify() method that tags Fullstory sessions with user data.

How can I do that?

Fullstory has a tutorial here on how to integrate it with WordPress, but that is for logged in users. I need it for guests that are checking out.

Read more here:: Get Billing Email from WooCommece Checkout and Pass to Fullstory JS

Leave a Reply

Your email address will not be published. Required fields are marked *