Skip to main content
Attributes are the data fields that describe a member. Loyalife organises them into three types, each serving a different purpose. Understanding the distinction matters because the attributes you configure here flow directly into the Rule Engine, segments, and communications — they’re not just profile fields, they’re the inputs to your entire loyalty logic.

Why attributes matter

What you want to doAttribute you need
Run a birthday cashback ruleGlobal attribute: Date of Birth
Target high-spending members in a campaignAggregate attribute: Monthly Spend Sum
Segment members by their occupationCustom attribute: Occupation
Award bonus points only to members of a specific genderGlobal attribute: Gender
Restrict a promotion to members with a particular card typeCustom attribute: Card Type
Reward the 10th purchase every monthAggregate attribute: Monthly Transaction Count
Every condition in the Rule Engine’s IF clause references one of these three attribute types. Every filter in Segments does too.

Global attributes

Global attributes are the standard member profile fields built into Loyalife. They are fixed — the same nine fields are present for every member in every program and cannot be removed.
AttributeData typePI protectedNotes
Relation ReferenceStringYour program’s unique member identifier (CIF, account number, etc.)
Full NameStringMember’s full name
EmailStringYesMasked in the UI unless the admin has PI Data Access permission
PhoneStringYesMasked in the UI unless the admin has PI Data Access permission
AddressStringYesMasked in the UI unless the admin has PI Data Access permission
GenderStringYesMasked in the UI unless the admin has PI Data Access permission
Date of BirthDateYesFormat: YYYY-MM-DD. Masked in the UI unless the admin has PI Data Access permission
StatusStringCurrent account status — Active, Suspended, Login Blocked, Canceled, InActive, Membership Blocked
Preferred LanguageSelectionControls the language used in communication templates sent to this member
Five fields — Email, Phone, Address, Gender, and Date of Birth — are automatically treated as personally identifiable information (PI). They are masked in the admin portal by default and require a separate PI Data Access permission to view. Every access is logged in the Audit Trail.
What you can do with global attributes:
  • Birthday rules — award cashback or bonus points when the transaction date matches the member’s Date of Birth (day + month comparison)
  • Gender-based promotions — restrict earning rules to male or female segments for targeted campaigns
  • Language-based communications — Loyalife automatically selects the correctly localised message template for each member based on their Preferred Language
  • Status-based segmentation — create a segment of Inactive members for re-engagement, or Suspended members for review
Global attributes are populated at enrollment (via API, file upload, or partner app) and can be updated via the API or from the member’s profile in the admin portal.
Manage Member Attributes screen showing the Global Member Attributes table with Relation Reference, Full Name, Email, Phone, Address, Gender, Date of Birth, Status, and Preferred Language, followed by the Custom Member Attributes section

Custom attributes

Custom attributes are program-specific member fields you define for your business needs. No two programs need exactly the same member data — custom attributes let you extend the member profile with whatever is relevant to your program. Examples by industry:
IndustryCustom attribute examples
Financial servicesKYC status, product type (savings/current/loan), segment band
RetailPreferred store, product category preference, loyalty card number
HealthcarePlan type, enrollment channel, specialist referral flag
Channel partnersDealer tier, territory, certification level
Creating custom attributes: Go to Members → Attributes → Add Attribute. For each attribute you define:
Adding Custom Attribute modal with fields for Attribute Name, API/File Key, Data Type (String), and toggles for Field is mandatory, Field is unique, Hide on profile, and Include in member search and filters
FieldDescription
Attribute NameThe label shown in the Rule Engine, segment filters, and member profile
Data typeString, Numbers (integer), Decimals (float), or Date
API & file keyThe exact field name used when submitting the value via API or member upload file
Field is uniqueWhether values must be distinct across all members
Field is mandatoryWhether a value is required for every member record
Field is PIMark as personally identifiable — controls masking and export permissions
Once created, the attribute immediately appears as:
  • A filter option in Engage → Segments
  • A condition option in the Rule Engine (IF clause)
  • A personalisation variable in Communication templates
Downstream uses:
Use caseHow the custom attribute is applied
Segment by product typeCreate a segment where product_type = savings — link it to a rule group for savings-specific bonuses
Personalise communicationsInsert {{preferred_store}} into an email template to show the member’s nearest store in every message
Restrict a promotion to certified partnersIF certification_level = Gold THEN 2x points on all transactions
Report by territoryFilter the Transaction report by territory attribute to view activity by region

Aggregate attributes

Aggregate attributes are computed values derived from transaction history. Unlike global and custom attributes (which describe who a member is), aggregate attributes describe what a member has done — and they update dynamically as transactions come in. Built-in aggregate examples:
AttributeWhat it tracks
Monthly Spend Sum (MTD)Total transaction amount this calendar month
Transaction Count (MTD)Number of transactions this calendar month
Lifetime Spend SumTotal spend from enrollment to now
Lifetime Transaction CountTotal transactions ever
Quarter to Date Spend (QTD)Total spend this calendar quarter
Average Transaction ValueMean spend per transaction
Time windows available:
WindowResets
LifetimeNever
Month to Date (MTD)First of every calendar month
Quarter to Date (QTD)Start of each calendar quarter
Year to Date (YTD)January 1st
Rolling N daysSliding window — always the last N days from today
Billing CycleBased on your program’s configured billing period
Aggregate functions: Each aggregate attribute applies one of: sum, count, max, min, or avg across all qualifying transactions in the time window. What you can do with aggregate attributes:
  • Milestone rewards — fire a rule every time Monthly Transaction Count is a multiple of 10 (10th, 20th, 30th purchase)
  • Spend tiers — award bonus points for any month where Monthly Spend Sum exceeds ₹20,000
  • Segment dormant members — create a segment where Lifetime Transaction Count = 0 (enrolled but never transacted) for a win-back campaign
  • Tier qualification — use Lifetime Spend Sum as the qualification metric for tier upgrades
  • Velocity caps — restrict an earning rule from firing more than N times per month by checking Monthly Transaction Count
Creating aggregate attributes: Go to Rule Engine → Attributes and create a new aggregate attribute. Choose the source transaction field (e.g., Transaction Amount), the aggregate function (e.g., sum), and the time window (e.g., Month to Date). Once saved, the attribute appears in both the Rule Engine condition builder and in Segment filters — no additional configuration needed.
Aggregate attributes are evaluated at the time a transaction arrives — the current transaction is included in the aggregate before the rule is checked. Reversals and refunds are automatically subtracted from the aggregate.

Attribute visibility in the member profile

All three attribute types appear in the member profile under the Account Info tab:
SectionShows
Profile fieldsGlobal attributes (DOB, gender, status, preferred language, etc.)
Custom fieldsCustom attributes defined for your program
Loyalty summaryAggregate attribute values (current balance, lifetime earned, etc.)
Admins with PI Data Access permission can view masked fields (mobile number, email, DOB) after accepting the confirmation prompt.

Updating attribute values

MethodBest for
Admin portal — member profile editOne-off corrections for individual members
API — Update Member endpointReal-time updates from your application (e.g., when a member changes their city)
Bulk CSV uploadMass updates for many members at once (e.g., migrating a new custom attribute across your existing base)
An attribute’s data type cannot be changed after it has been used in a live rule or segment. If you need to change the type, create a new attribute and migrate any rules or segments referencing the old one.