Note: Events will only be processed for accounts with Marketing Hub Enterprise.
Usage
Track by Event ID
Track by Event Name
Event IDs vs Names
- Event ID: Use numerical IDs for events created in HubSpot (Reports > Analytics Tools > Behavioral Events)
- Event Name: Use string names to dynamically create new events. If an event with that name doesn’t exist, it will be created automatically
- Events created in the HubSpot app cannot be triggered by name, only by ID
- Events created dynamically by name can only be created once. If you delete an event that was created this way, a new event will not be created if you try to dynamically trigger an event with the same name
Body
application/javascript
Event tracking data
Response
200
Event tracked successfully