APIs & Integrations

davidb1
Member

Custom Event values

Hi,

It’s unclear to me from reading round in the forum what can be sent in the “value” for a custom event.
The docs seem to indicate that it can only be a floating point value. Is this correct or can strings or more complex structures be sent?

Also, where in the reporting interface can these values be found? I can see the events but can’t find the values even for events with only float values.

Many thanks
David

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Custom Event values

Hi @davidb,

The value of an event is an optional argument that can be used to track the revenue of the event. It’s limited to a numerical value since it’s intended to track the conversion value of an event, and increments the hs_analytics_revenue property when the event is associated with a contact. The following articles discuss custom events & the JavaScript Events API, respectively:

How to create events for revenue reporting and other use cases

At first glance, it may not be apparent as to why you would want to use a JavaScript or HTTP API Event. You can do pretty much the same thing using the other Event types, right?


0 Upvotes