Comments (6)
Absolutely. Are we talking about customer information in the checkout process here, or user profile info?
from analytics-wordpress.
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.
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.
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.
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.
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)
- url redirect issue HOT 2
- Notice on activation
- calling identify for logged out users HOT 1
- library context doesn't get added to page calls HOT 1
- Woocommerce "Add to Cart" cause PHP Fatal Error HOT 1
- page() called twice ? HOT 1
- Analytics.identify() should not be called on every page view HOT 1
- Update `get_product` to `wc_get_product` HOT 1
- add alias
- Guard against duplicate "Completed Order" calls. HOT 3
- support for group method?
- Include Pages with Viewed Post calls, have an option to disable Viewed {tite} Page calls HOT 3
- Admin Error "Uncaught SyntaxError: Unexpected token i"
- Secure mode language is confusing HOT 1
- Running on localhost HOT 1
- product_id is a hash key, not an object property HOT 1
- Ability to change Write Key under certain conditions
- Problem with "Non Interaction" on "Viewed x Page" HOT 2
- Do not load the Intercom script when I need? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from analytics-wordpress.