for the digital marketing, we need to track the customer’s action and the send some marketing email to them. so we connect the magento with HubSpot by API so that we can get some data.
but there is a problem, if a user who have logged in prior, and brows our web without logging in this time, there is no record in magento due to no login.
however, we still need this information to trigger some worflow. can we have some oyher ways to track this kind of actions? can we use a middleware like Pixel to track thire behaviour on the web?
The Hubspot tracking code will track for sessions, views, and certain events like form submissions
If you want to expand the tracking for this, you can use custom event tracking in HubSpot How to Create Custom Events
You can use a middleware solution or even parameters in an email’s URL
While custom events require an Enterprise Hub to have access to that functionality, you can explore third-party tools like PostHog, Google Analytics, or Segment to track specific events on your website. You might be able to sync some of these events (for example, Segment integrates with HubSpot) with HubSpot to be able to trigger workflow automation, but that might require additional integration tools.