Custom Event values


#1

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


#2

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: