Glassfy Events Data
Event fields
field | description | note |
---|---|---|
event_date | event date | Epoch time on when the event has been generated. It may differ for the purchase date. Use date_ms for purchase date |
source | source that generates the event | SDK: event generated by the SDK S2S: event generated by server to server or playstore RTH: event generated internally by Glassfy |
type | event_type | Please see table below for possible values |
environment | environment | Can be P (production) or S (sandbox) |
store | store | 1: App Store 2: Play Store 3: Paddle 4: Glassfy |
vendorid | vendor identifier | unique identifier of the company using Gassfy SDK |
appid | application identifier | unique identifier of the application using Gassfy SDK |
subscriberid | subscriber identifier | unique identifier of the user purchasing the subscription or IAP see here |
productid | product identifier | App Store, Play Store, Paddle, Glassfy product identifier |
date_ms | event date in milliseconds | this is the date of the purchase or event |
original_purchase_date_ms | original purchase date in milliseconds | |
expire_date_ms | subscription expire date in ms | |
duration | subscription duration in days | |
auto_renew_status | user changes auto renew status: if false the subscription will not autorenew at the expire date | only relevant for event 5005 SubscriptionDidChangeRenewalStatus |
original_transaction_id | Original transaction identifier | |
web_order_line_item_id | original web order | |
price | price | price in user currency |
price_usd | USD price | price in USD |
licensecode | License code connected or disconnected | |
currency_code | currency code | three letters ISO currency code |
country_code | country_code | three letters ISO country code |
sub_platform | Apple user only | "0" :UNKNOWN "1" : IOS "2" : CATALYST "3": TV "4" : WATCH "5" : OSX "6" : DRIVE "7" : SIMULATOR |
system_version | operating system version | |
device | device type | eg: iPhone14,2 |
sdk_version | sdk version | |
app_version | application version | |
is_trial_period | app is in trial | true or false |
trial_status | trial conversion status | 0: N/A 1:trial converted to payed subscription 2:trial non converted to payed subscription |
customid | custom identifier | custom identifier |
adjustid | AdjustID | Unique Adjust ID of the device. Available after the installation has been successfully tracked. |
appsflyerid | AppsFlyerID | App identifier generated by AppsFlyer at installation. |
ip | IP Address | |
idfa | IIdentifier For Advertisers - Unique to each device. Only use for advertising. (Apple only) | |
idfv | Identifier For Advertisers - Unique to each device. Only use for advertising. (Apple only) | |
asid | Privacy friendly App Set Id (Android 12+) | |
gaid | Google Identifier For Advertisers - Unique to each device. | |
aid | Unique to each combination of app-signing key, user, and device(Android only) | |
clevertap_id | CleverTapid | Identify a unique user by CleverTap Global Object ID. |
amplitude_deviceid | Amplitude Device Id | |
amplitude_userid | Amplitude User Id | |
fb_anonid | Facebook anonymous id | |
firebase_appinstanceid | Firebase instance id | |
iterable_userid | Iterable User id | |
mixpanel_distinctid | MixPanel distinct id | |
particleid | Particle id | |
onesignalid | OneSignal id | |
singularid | Singular id | |
airship_channelid | Airship Channel id | |
onhold | A payment failure occurs while trying to resume the subscription after pause. | true or false |
Event Type
Event Type | event_type | Description |
---|---|---|
SubscriptionInitialBuy | 5001 | User starts a subscription |
SubscriptionRestarted | 5002 | A previously interrupted subscription restarted |
SubscriptionRenewed | 5003 | Subscription automatically renewed |
SubscriptionExpired | 5004 | Subscription expired |
SubscriptionDidChangeRenewalStatus | 5005 | User changed the autorenew status |
IsInBillingRetryPeriod | 5006 | User is in billing retry |
SubscriptionProductChange | 5007 | User upgrades or downgrades the subscription |
InAppPurchase | 5008 | In App Purchase |
SubscriptionRefund | 5009 | Subscription Refund |
SubscriptionPaused | 5010 | Subscription Paused |
SubscriptionResumed | 5011 | Subscription Resumed |
ConnectLicense | 5012 | License Code Connected |
DisconnectLicense | 5013 | License Code Disconnected |
Updated 11 months ago