Example: Sending a Custom Event

The following example shows how to send a trip_booked event with additional parameters:
nv_create_event({
  event_name: "trip_booked",
  parameters: {
    booking_destination: "Paris"
    booking_revenue: 899.99,
  }
});

Guidelines

  • Parameter keys are limited to 36 characters
  • Parameter values are limited to 128 characters
  • You can define these parameters later in:
    • Settings > Custom Dimensions
    • Settings > Custom Metrics
These allow you to report on your custom data in Nimvue dashboards.

Important Note

It is your responsibility to ensure that no personally identifiable information (PII) or private data is sent in any custom events, in accordance with our Privacy Policy and Terms & Conditions.