Hello,
I manage a woocommerce shop with integration by API to Hubspot.
the issue I am having is that the API only collectes data when a user clicks on Place an order - which is tooo far on the sales cycle.
this is our proccess:
1. user chooses a product and places it in the cart - I would want to collect this data for - our customer support to know what the user is interested in, for automations, statistics and more.
2. the user moves to the checkout page - also nothing is being collected in a way I can use this data later - this is a stage that not may customer reach and is most important.
3. only after filling all billing and payment data and clicking the place an order a deal or an abundont cart is being created.
for E-commerce sites - this is far too little to late for a CRM.
I understand that only a custome made API will be able to help me here? or do you have maybe any other solution?
Thanks
O
Images for the 3 stages on the store:
@himanshurauthan , any help you can offer here?
Hello @dennisedson, thank you for counting me in. ![]()
Hey @OTomer,
You can use cookies to fetch the information related to the shopping cart if the user is a registered user. You will get their email by $_COOKIE[‘hubspotutk’] here HubSpot stores the user’s email, and then you can send data from cookies to HubSpot.
But if the user is a guest user then what you can do is you can use a pop-up that will store the user’s email address and then with the help of that pop-up’s data you will get the email address of guest users as well then you can use API ‘’/contacts/v1/contact/utk/’ . $hutk . ‘/profile?hapikey=’ . $apiKey’, to send info to HubSpot.
I hope that helps.
Regards,


