DLA 2.0 is live! 

What are Entities in the Context of Event Data?

Table of Contents

This is part 3 of the 5-part series on Customer Data. Here are parts 1, 2, 4, and 5. It is also highly recommended to go through part 1 (What Is Customer Data?) before this one.

Introduction

Event data is incredibly helpful to decipher what is going on inside a product or how something is being done. However, unless you know who is performing those events, there’s not much you can do in terms of segmentation and understanding user personas.

This is where entity data comes into play where User is the primary entity and user_id is the key property that needs to be associated with every event. Doing so, enables you to understand user behavior by answering questions like: 

  • How many unique users performed the event Campaign Sent?
  • Which users performed this event?
  • What is the average number of events a user segment performed before performing the event Campaign Sent for the first time?
  • Which events were performed by the user segment before this event?

Besides understanding user behavior, associating events with users enables you to send them relevant in-app messages and emails based on their actions. 

One Event, Multiple Entities

User is the primary entity associated with every event performed by a user. But when a user is part of a group or an account — organizations or workspaces in the context of B2B SaaS products — Account is also an entity that needs to be associated in order to provide more context about events and track user activity at an account (or group) level.

Since an account comprises multiple users, associating the right account with user events helps understand the overall health of an account and answer important questions such as:

  • How many accounts are activated?
  • What is the average number of users for active accounts?
  • How many accounts contain X or more users?

It helps to keep in mind that the collective actions of users in an account often contribute towards activation rather than those of a single user.

Therefore, SaaS products that are used by multiple users collaboratively need to associate multiple entities — user and account —  with every event. 

If an account is referred to as an organization, on top of the user_id, the organization_id needs to be associated with events in order to know which user performed an event, and under which organization. 

For instance, if a user (X) creates a new project inside a project management app used by an organization (Y) with 10 users, two important pieces of information is generated: 

  • X created a new project or X performed the event Project Created
  • A new project was created inside organization Y or the event Project Created took place in organization Y

Besides associating the event Project Created with the user, failure to associate the event with the organization will result in the loss of the second piece of information.

Additionally, subscription-related events such as Trial Started, Trial Ended, and Subscription Cancelled take place at the organization level and do not pertain to any specific user.
Whether such events take place automatically (the card on file couldn’t be charged) or as a result of a user action, it can be helpful to associate these organization-level events with all users in an organization. This ensures that you are not restricted to engaging only with the owner of the account and that other users in the account can be notified when such events take place.

Failure to associate events with accounts will hinder analysis and engagement efforts as you will only have data pertaining to the actions of individual users. Moreover, combining user events with the right organizations at a later time either won’t be possible or will be a huge pain for your data engineers.

And this problem exacerbates multifold if your product enables a user to be part of multiple accounts.

One User, Multiple Accounts

In B2B SaaS, it is common for a user to be associated with multiple accounts or organizations. 

Apps such as Notion, ClickUp, and Integromat allow a unique user to join or create multiple organizations. 

This means that the same user performs events under multiple accounts. However, those events are unrelated as they don’t take place under the same account or organization.

For products that allow one user to be part of multiple organizations, it is paramount to know under which organization did a user perform an event in order to track account-level activity.

In conclusion, when one user is part of multiple accounts, you need to isolate user activity that takes place under each account to understand what is going on at an account level.

If entities (user, organization, workspace, etc.) are not associated with events correctly, your data set can get heavily skewed. Not being aware of such issues can lead to business decisions being taken on incorrect data, the outcome of which can be significantly detrimental. 

Not Just an Identifier

Let’s go back and assume the user to be the only entity for a product. 

Entity data not only helps identify the user who performs an event but also tells you a lot more about that user. It is a good practice to categorize entity data into the following buckets:

  • Personally identifiable information such as name, email, and phone 
  • Demographics such as age, gender, and location
  • Persona such as industry, job role, and goal
  • Preferences such as brands, genres, and product categories
  • Account data such as subscription_type, number_of_users, account_manager, and renewal_date

Specifying the entity properties is a crucial step in the process of setting up event-tracking, and is covered in detail in the tracking plan guide.

Conclusion

Thinking about entity properties (that help in segmenting users) might spark new ideas or bring up queries related to user segmentation such as what data is gathered when a user signs up for your product.

Are you asking the right questions and providing users with relevant options? Do you need to modify those questions or ask new ones to better understand user personas? What about the naming convention of the properties or the data type of each property? 

While it might seem a bit much to mull over all those minute details, it is important to ask those questions sooner rather than later to ensure that you collect clean data, that is easy to analyze and act upon. 

You now know the role entity data plays in the process of gathering event data which means it’s a good time to see what events and entities look like and learn how to define them properly

Share on facebook
Share on linkedin
Share on twitter

Continue Learning...

Modern Data Stack for Growth is to product and growth people what Modern Data Stack for Analytics is to data people — an enabler for one to do their best work.
Clean and accurate behavioral data is critical to improve the customer experience across the customer journey, from acquisition to retention and beyond.
Data democratization takes a lot more than making data accessible. Learn what it takes to build a true data democracy in an organization.
Share on facebook
Share on linkedin
Share on twitter