User Schema Reference
The following schema lists the attributes we recommend collecting for user profiles. Collecting all recommended data ensures data completeness, ensuring you get the best results from Appier features.
Property types
There are two attribute types, and the type tells you who defines the attribute and where its value comes from.
- Default: Appier collects these automatically through the SDK. You don't need to send them yourself. Examples:
ip,permission,gcm_id. - System-defined: Appier defines the key and data type, and you provide the value. You can't change the key or data type, so send the data exactly as defined here for Appier features to recognize it. Examples:
first_name,email,phone_no,line_uid.
Schema properties
Key
Display name
Data type
Description
Property type
account_linkedAccount linked
string
The user's member ID in your CRM system. Only used by BotBonnie.
Example: "U1234acbd5678"
System-defined
appier_idAppier ID
integer
The identifier that Appier assigns to the user.
Example: 1234567890123456789
Default
birthdayBirthday
string
The user's date of birth. The data type can be string or integer, depending on your setup.
Example: "1990-05-14"
System-defined
cityCity
string
The user's city.
Example: "Taipei"
System-defined
ec_account_linkedEC account linked
string
The user's member ID on your e-commerce (EC) platform, like 91APP or SHOPLINE. Only used by BotBonnie.
Example: "Y123456"
System-defined
emailEmail
string
The user's email address, used for email sending.
Example: "[email protected]"
System-defined
first_nameFirst name
string
The user's first name.
Example: "Jane"
System-defined
gcm_idGCM ID
string
The user's push notification token. The format depends on the platform:
- Android and web: A Firebase Cloud Messaging (FCM) registration token, about 150 characters long.
- iOS: An Apple Push Notification service (APNs) device token, 64 hexadecimal characters long.
Example: "dGCSgbfREPc:APA91bHiidOoq_iB3Vqbqq7OM2XAJKlLQSyYp954VEDMovG4-NxNnSujamBbReKwK_RSqf3OaDo8Ip54_uC9-N5fqXtyYmXQGEMQr3SDKGp27MPbe9D-oXxKz935wE1WM2srElISB--e"
Default
instagram_uidInstagram UID
string
The user's Instagram channel ID. This is Meta's Instagram-scoped ID (IGSID), a numeric string assigned per business account.
System-defined
ipIP
string
The user's IP address.
Example: "203.0.113.10"
Default
is_incognitoIs incognito
boolean
Whether the user's browser is in incognito (private) mode.
Example: false
Default
kakao_uidKakao UID
string
The user's KakaoTalk channel ID.
System-defined
last_nameLast name
string
The user's last name.
Example: "Doe"
System-defined
line_uidLINE UID
string
The LINE user ID of a user who follows your LINE channel.
System-defined
line_unfollow_timeLINE unfollow time
integer
The date the user was detected as no longer following your LINE channel. Detection runs once a day, so this date may be one day later than the actual unfollow date. To use this attribute in segments, contact Appier Support. The value is a Unix timestamp in seconds.
Example: 1727654400
Default
messenger_uidMessenger UID
string
The user's Messenger channel ID. This is Facebook's page-scoped ID (PSID), a numeric string.
Example: "3067708500516264"
System-defined
permissionPermission
string
The user's web push subscription status:
granted, denied, or default.
Example: "granted"
Default
phone_noPhone number
string
The user's mobile phone number, used for SMS sending, in E.164 format.
Example: "+886912345678"
System-defined
reasonReason
string
Set to
badDeviceToken when the user's Apple Push Notification service (APNs) token is invalid.
Example: "badDeviceToken"
Default
user_agentUser agent
string
The user agent string of the user's browser.
Example: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ..."
Default
user_iduser_id
string
The user's ID from your CRM system.
System-defined
viber_uidViber UID
string
The user's Viber channel ID.
System-defined
webchat_uidWebchat UID
string
The user's web chat channel ID.
System-defined
whatsapp_uidWhatsApp UID
string
The user's WhatsApp channel ID.
System-defined
zalo_uidZalo UID
string
The user's Zalo channel ID.
System-defined
AIRIS default properties
AIRIS collects the following default properties automatically. You don't need to send them yourself.
AIRIS user properties
These properties describe how AIRIS first saw the user.
Key
Display name
Data type
Description
Property type
~dFirst Event Timestamp
Timestamp (Unix)
When the user's first event took place.
Default
~aFirst Referrer Type
Referrer Type
The referrer type of the user's first visit: Direct, Search Engine, Social Networks, Email, Back Links, Internal, or PPC.
Default
~bFirst Referrer URL
Text
The referrer URL of the user's first visit. It may not include the path and query, because HTTPS referrer data is limited for privacy.
Default
~fFirst Landing Page
Text
The URL path of the user's first page view.
Default
~jFirst Campaign Name
Text
The first specific product promotion or strategic campaign, from
utm_campaign.Default
~kFirst Campaign Source
Text
The site that first sent the user's traffic, from
utm_source.Default
~mFirst Campaign Medium
Text
The type of link the user first came from, such as cost per click or email, from
utm_medium.Default
~nFirst Campaign Content
Text
What the user first clicked to reach the site, from
utm_content.Default
~lFirst Campaign Term
Text
The user's first search terms, from
utm_term.Default
AIRIS visit properties
These properties describe a single visit.
Key
Display name
Data type
Description
Property type
cityCity
Text
The visit's city, based on GeoIP.
Default
regionState/Region
Text
The visit's state or region, based on GeoIP.
Default
countryCountry
Country
The visit's country, based on GeoIP.
Default
continentContinent
Continent
The visit's continent, based on GeoIP.
Default
timezoneTime Zone
Text
The visit's time zone.
Example: "America/Los_Angeles"
Default
offsetTime Zone Offset
Text
The visit's time zone offset.
Example: "+08:00"
Default
deviceDevice Type
Device Type
The device type: Desktop, Tablet, or Mobile.
Default
ipIP Address
Text
The visit's IP address.
Default
screenScreen Resolution
Text
The device's screen resolution.
Example: "2560x1440"
Default
languageLanguage
Text
The language preference set in the device's operating system or web browser.
Default
osOperating System
Text
The device's operating system.
Default
browserBrowser
Text
The web browser used for the visit.
Default
timeVisit Date/Time
Timestamp (Unix)
The date and time the visit began.
Default
timeHour of Visit
Timestamp (Unix)
The hour the visit began.
Default
timeDay of Visit
Timestamp (Unix)
The day the visit began.
Default
timeWeek of Visit
Timestamp (Unix)
The week the visit began.
Default
timeMonth of Visit
Timestamp (Unix)
The month the visit began.
Default
timeYear of Visit
Timestamp (Unix)
The year the visit began.
Default
durationDuration of Visit
Duration (Seconds)
The visit's duration in seconds.
Default
referrertypeReferrer Type
Referrer Type
The visit's referrer type: Direct, Search Engine, Social Networks, Email, Back Links, Internal, or PPC.
Default
referrerqueryReferrer Query (search referrals)
Text
The search engine query, or the click identifier (such as
gclid) for PPC. It may show as -encrypted- because HTTPS referrer data is limited for privacy.Default
referrerurlReferrer URL
Text
The referrer's URL. It may not include the path and query, because HTTPS referrer data is limited for privacy.
Default
landingpageLanding Page Path
Text
The URL path of the visit's first page view.
Default
actionsTotal # of Events per Visit
Number
The number of events in the visit.
Default
is_firstIs First Visit
Short Boolean
Whether this is the user's first visit.
Default
Updated about 13 hours ago
Did this page help you?
