Lesson info

Having explored standard attributes, here we focus on custom attributes. You will learn how to create your first custom attribute for users and see different ways of updating their values.

Lesson transcript

Having discussed the basics of standard attributes, let’s now move on to custom attributes. Custom attributes are any additional attributes not covered by standard ones that you can track for your users. You can also create custom attributes for Companies, Deals, Products and Events. But let’s now focus on the user’s custom attributes. There are a few ways of creating them. You can create a new custom attribute directly from the filters. Or, if you prefer to work through programming interface - by REST API request.Using one endpoint, you can create attributes for 4 different content types: clientuser, company, deal or product. It’s as well possible to add a new custom attribute directly from the User settings module. So let’s have a quick look at that now - I’m going to App Settings. We haven’t created any yet so let’s click here and it takes us to the user’s attributes menu which is always available in “App settings” under “User data & events” and attributes. You can of course create your very own custom attribute here, but to make this process as easy as possible we’ve prepared a set of most popular custom attributes you can choose from. Let’s have a look at them now. As you see there are many options available and they’ve been divided by business type. We have a sample list for SaaS B2B and B2C, attributes useful for eCommerce like for example total_spent or last_category_viewed. We’ve also added attributes useful to track important details while running a campaign. At the end, we see attributes dedicated to eCommerce businesses using Woo commerce plugin. Every time you create a new custom attribute, it’ll appear in the filtering section and from there you can create filters related to it. One of the useful features available in the app is a possibility to automate the process of collecting information that is saved as a custom attribute. Once you’ve created your custom attribute in the app, you can simply set your automation up in a way that lets you save a given detail as an attribute’s value. You can easily select it from the dropdown menu here. You can as well update the value of a standard or custom attribute thanks to “Update attribute” module. Or use “Change custom attributes” module which is dedicated to integer attributes and it automatically adds or subtracts a given amount from this attribute. An example: each time a user purchase sth at your e-store it increases the value of attribute “Number of purchases made” by 1. And that was a general overview of custom attributes. To find out more, let’s continue to the next video. Thanks for listening!