This article helps you:
Understand the basics of users, events, and properties
Learn techniques for planning your taxonomy
Using Amplitude effectively requires you to first identify the events and properties you want to track. Designing a solid, scalable taxonomy can help make your analyses easier, avoid data gaps, and prevent future data issues.
This playbook will review the strategy and considerations for creating your tracking plan.
This feature is available to users on all Amplitude plans.
A taxonomy is a set of hierarchical classifications and naming conventions for your data. It's a way to identify and categorize your event and user data so that Amplitude can generate relevant and valuable insights from it. The process of setting up a taxonomy in Amplitude will differ from organization to organization, but the heart of it is selecting the events you want to track, identifying event properties and user properties you want to track, and then naming them.
Amplitude's analyses use a combination of events and properties associated with your users.
A user represents a unique individual taking an action or engaging in an activity related to your application. Amplitude uses multiple methods to identify and reconcile your users across various devices.
You can learn how Amplitude tracks unique users, including how to reconcile anonymous users before login.
An event is a distinct action or activity taken by a user within your product. Events can be active when a user has interacted with your app (for example, starting a game or adding to their cart) or they can be inactive (the user receives a push notification).
When naming events, Amplitude recommends establishing a consistent naming convention that uses:
Song Played
and song played
as two separate events, so this naming convention helps to prevent messy data, especially when multiple teams send the same event.Song Played
and Played Song
are also considered separate events. For example, a standard of [Noun]
+ [Past-Tense Verb]
ensures all your events are consistent.Message Sent
mean that the user sent a message or that you sent a message to the user? If all your events are named in a way that reflects the user's perspective, the meaning is clear immediately.Default events are Title Cased from the user's perspective, with a [Noun]
+ [Past Tense Verb]
. You can also follow establish your own convention as long as you remain consistent.
Properties are attributes that help define details around your events and users. At a high level:
Purchase Completed
event, you could specify what the user purchased, the total value of the order, and the payment method used.Learn more about the differences between how events and user properties behave in this article. Also, as with events, you should establish a naming convention with a consistent casing.
Starting with your goals and metrics helps to ensure you've prioritized the most important ones for your implementation. For example:
Some typical goals Amplitude customers pursue include:
Once you've identified your organization's overarching goals, it's easier to break them down into individual metrics and ensure your tracking plan measures your desired outcome.
For example, you have an e-commerce app and are looking to increase purchases. You could do this by:
Each of these could be your input metrics to achieve your goal. Prioritize these input metrics so you can answer the most important question first. Consider adopting an iterative approach, in which you plan and instrument your most important metrics and iterate later to add more.
Now that you know your ultimate goal and have some hypotheses about how to accomplish that goal, you can break down those input metrics even further. What critical paths do your users take, and how do they involve each of those metrics? What actions are essential to each of those paths?
Let's say you're starting with increasing the conversion rate of users through your purchase flow. What are users' critical interactions with your application through the purchase flow? They could be:
For each of these, think about the various factors involved in each step. For example:
Product ID
for the item purchased?One helpful technique is to think about the objects involved with each of these actions and make sure to have attributes of those actions in each event. For example, an item in your system likely has an ID, a category, and a price—all properties you can add to events related to your items.
It's time for some final optimizations on your plan. Ask yourself these questions:
Suppose you have two user actions you could capture as two separate events, or as a single event with a property distinguishing the two distinct cases.
For example, perhaps you believe payment method is a critical factor. Should you instrument:
Order Completed
as a single event with a Payment Method
property that captures Credit Card
or Apple Pay
, orCredit Card Order Completed
and Apple Pay Order Completed
?There are a few things to consider:
Order Completed
event would be easier to include in a funnel to see the overall purchase flow conversion.Order Completed
event is probably fine. However, if you made all your events Page Clicked
instead, a series of these generic events is unlikely to be very helpful when looking at a user flow.Even though event properties are specific to each event, you should ensure you've defined them consistently across your taxonomy. For example, instead of having a property called Type
that could represent a type of an item in one event and a type of payment in another, consider having separate properties: Item Type
and Payment Type.
One typical use case for event properties is tracking values that must be held constant to count toward funnel conversion. For example, perhaps you want to know how often users add to cart after viewing details:
Product Details Viewed
Product Added
Here, users should count as having converted through the funnel only if they triggered the event on the same product. To ensure this, instrument the event property Product ID
and require the funnel to hold this value constant. Every event in the funnel must have that property for the holding constant feature to work.
Product Details Viewed
Product ID
= 3345
Product Added
Product ID
= 3345
quantity
= 1
In this example, you can see how often a user adds to their cart after viewing an item. Without the Product ID
, you'd be analyzing how often a user adds any item to their cart after viewing any item.
Refer to the steps in this playbook as you add new features or iterate on your product analytics. Amplitude Data provides ways to create and iterate on your plan directly in the product, or by importing a CSV file.
To see more specific examples, check out our industry-specific best practices guides to see sample use cases and business questions, a recommended taxonomy, and complementary dashboards you can use for your implementation, each one tailored to meet the specific needs of the following sectors:
Thanks for your feedback!
August 14th, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.