APIs & Integrations

wrydere
Member

Creating custom events via JavaScript on the fly?

I know I can create events in HubSpot, and push them in my JS using their numerical ID. However, is there any way to push an event that doesn’t yet exist, by providing a string for the event name/label? Similar to a Google Analytics event, I suppose…

0 Upvotes
2 Replies 2
terrance
Participant

Creating custom events via JavaScript on the fly?

0 Upvotes
wrydere
Member

Creating custom events via JavaScript on the fly?

Wellllll that’s a little embarrassing for me, huh? It’s right in the docs. Thanks for pointing that out - glad this is possible.

0 Upvotes