Use Custom Event API

Updated 1 month ago by Michael Alon

Custom Events

Gainsight PX Web SDK supports the ability to send custom events.  You include a name for the custom event as well as properties/values for that event.

The types supported are:

  • string
  • number
  • boolean
  • datetime (ISO 8601 UTC date and time)
  • nested events will be saved as string 

Here is an example call:

// Tracking with event properties

aptrinsic('track', 'Engagement', {"name":"Product Release","Audience Size" :5000 ,"Launched" : true , "Launched date":"2018-03-08T18:11:00Z" });


NOTE: In the example above, "Engagement" is the name of the name of your event that you want to track (i.e. "Engagement" "Search" "Article" "Purchase" etc.).

Also, in the example above the custom event includes property/values for the custom event (name, Audience size, Launched, etc), your custom event would, of course, have properties specific to your custom event.

Custom Event Limits


Limit (standard edition)

Event Names (type)


Event Properties


Length or property value

1024 characters

How did we do?