Attribute

An event attribute is a custom attribute on the event object.

track("custom event name", {
    location: "top nav",
});

In Segment terminology, this refers to the event traits.

Use cases for event attributes include event versioning and interaction location.

Last updated