Lexicon is a data dictionary that stores descriptions of Events and their properties.
Project owners and administrators can add and manage descriptions for all events and properties, and organize data for clarity and discoverability.
This topic provides an overview about using Lexicon to add descriptions and organize events and properties. For information on how to perform tasks to add and organize event and property descriptions, see Using Lexicon.
Adding and Changing Event and Property Descriptions
In Lexicon you can add or change descriptive information about your events and their properties. Events are actions a user performs in an application or a website. Event properties are the specific details that describe the action.
In large implementations of Mixpanel with multiple teams and hundreds of events and properties, it can be difficult for other team members to interpret event information. Using Lexicon, you can better understand your events because you can add or change event information, track who modified it, and verify whether the current information is accurate.
Lexicon can be especially useful when new members join a team. Event and property definitions that are clear, accurate, and findable reduce the learning curve and help them get up to speed faster. Before new members join your project, you can review your event and property definitions for accuracy and add tags to better organize them.
Lexicon contains property definitions for the default properties that Mixpanel’s client-side libraries automatically send with each event across web and mobile platforms.
- If you use the Mixpanel iOS library (Swift) for your mobile application, Mixpanel sends this list of properties.
Organizing and Finding Data
Mixpanel provides tags to help you organize and find your data. A tag is a label you assign to an event. Tags enable you to categorize events and make them easier to find–especially in large Mixpanel implementations with multiple teams.
The Insights report, as shown in the image below, contains a list of tags. When you select a tag, a list of events that share the same tag appears. You can then select the event you want.
Suppose your mobile gaming application has hundreds of events and you want to find events that are associated with game purchases. If you’re new to the project, it could be time-consuming to search hundreds of events to find them. Using Lexicon, you can assign a tag to events that relate to a specific category.
For example, we’ll use a purchases tag for all events and properties that relate to purchasing, such as In-App Purchase or Booster Pack Purchased. The purchases tag makes the search much easier because the purchase related events are listed under the purchase tag.
In addition to the previous use case example, tags are useful to identify specific events of interest for certain teams, distinguish events that are relevant to a specific product or service, or indicate events that are associated with certain key performance indicators.
For more information on tags, see Creating or Adding Tags to an Event.