Event Tracking and Automated Messaging


#1

Hi there,

as we are heading towards a deeper hubspot integration with our backend looking forward, I do have some technical questions:

  1. Message Triggers

We would like to move some automated marketing communications (mainly emails) to hubspot. These need to be triggered based on certain events in our backend.

If we would use

(opt A) the timeline API to push events developers.hubspot.com/docs/methods/timeline/create-or-update-event

or (opt B) the HTTP tracking api developers.hubspot.com/docs/methods/enterprise_events/http_api

would we then be able to trigger messages based on these events?

Also, is it possible to pass data along with an event like the “extraData” in the timeline event and use this information in an associated email message? Or can emails only use contact properties?

  1. Frontend Event Tracking

When we use the tracking code api via the javascript tracker to push some events (developers.hubspot.com/docs/methods/tracking_code_api/javascript_events_api) can we then also pass along some event data?

Example Use Case:

Push Event "User added product to cart"
to pass along, what product the user added to the cart?

Thanks in advance and best regards
Ingmar