An attribute allows you to permanently store data. It might be a "score" or "health" or "damage" or "number of check-ins" or "number of votes" and so on.
There are 2 types of attributes:
- Core Attributes are defined by Conducttr itself and cannot be modified. These are things like the audience's "First Name" and "Last Name".
- Custom Attributes are those you can create yourself through the Attributes panel.
There are also "Variables", which store data temporarily, only during the course of processing the given trigger.
On this page, we will be focusing on Custom Attributes and referring to them simply as attributes.
When you're creating an experience, you, the author, decide which Conducttr entities need to store certain data. For example, if you want to award players points for checking in to a location, then it’s the audience that needs an attribute to store the points. If you're going to count the number of check-ins at a location, then it's a location touchpoint that needs to store that number in an attribute.
Attributes are created and deleted via the attributes panel - as shown below. To create an attribute, you must first select the entity that's associated with the data you plan to save.
Examine attribute value
To examine the currently stored values for an attribute, look in the attributes tab of the entity that's holding the attribute.