Code Monkey home page Code Monkey logo

Comments (6)

JustinSainton avatar JustinSainton commented on May 28, 2024

Absolutely. Are we talking about customer information in the checkout process here, or user profile info?

from analytics-wordpress.

ianstormtaylor avatar ianstormtaylor commented on May 28, 2024

I guess it would be interesting to see how both could be handled. I'm less familiar with how the checkout process would work though

from analytics-wordpress.

JustinSainton avatar JustinSainton commented on May 28, 2024

I think, pending third-party plugins being used, it would have to be the Checkout, as WordPress does not gather the phone number as part of the user profile creation.

from analytics-wordpress.

jrjacobs avatar jrjacobs commented on May 28, 2024

Hey there, thank you for creating this ticket. I'm the original inquirer as to this issue. My ultimate goal was to be able to gather the user fields from a checkout form (like with WooCommerce), and then send them to Pardot as integrated with my account. I saw a info in the documentations for segment to gather WP info like fname and lname, but I wasn't sure if that would require them having an account first, which we don't want. We have set up an event registration page and would like to be able to track buyer info and send it to Pardot. Here's the page with the WooCommerce checkout form: http://advantageauthoritymarketing.com/. Thank you so much for your help. You all have been awesome so far. Please let me know if I need to clarify anything further or provide more detail. Thanks!

from analytics-wordpress.

JustinSainton avatar JustinSainton commented on May 28, 2024

Hi @jrjacobs,

Gotcha, that makes sense. It would definitely be possible to hook into the woocommerce_thankyou hook, grab the address via WC_Order( $order_id )->get_shipping_address() and then use the values to filter the identify() call via segment_get_current_user_identify.

If that all makes sense, it should be enough to run with. Otherwise, I'll chat with @ianstormtaylor about rolling this into the core platform.

from analytics-wordpress.

jrjacobs avatar jrjacobs commented on May 28, 2024

Hey Justin, thank you for this response. I am somewhat familiar with programming with Woocommerce since we have a plugin that runs off of it, so I'll take a stab at it using your suggested method. It seems like it would make sense and would be able to work, so I'll see what I can do. Still, any possibility of it being built into the core Segment platform would be wonderful. I'll keep you posted as to whether I can get something going on my end. Thanks!

from analytics-wordpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.