Segments for Beta release
Events that are pushed from mobile sdk-server to /visits/push
has following structure
type UserIQMobileEvent = {
type: string
screenId?: number,
featureId?: number,
event_ts: number,
site_id: string,
uid: string // userId - eg - "john.smith@useriq.com"
cvars: {
1: ['user_id', string], // set during sdk init
2: ['user_name', string], // set during sdk init
3: ['user_email', string], // set during sdk init
4: ['account_id', string], // set during sdk init
5: ['account_name', string], // set during sdk init
6: ['version_code', string], // versioncode is a increasing number indicating new releases of the app
7: ['version_string', string], // version display string (no significance in segmentation)
8: ['store_key', string], // unique appId (analogous to domain name)
9: ['sdk_version', string], // version of UserIQSDK integrated in the app
10: ['form_factor', string], // 'phone' or 'tablet'
11: ['api_key', string], // unique api key given to the app
// other extra data
[idx: number]: [string, any]
}
}
NOTE: 2018-06-18 Proposal to update event payload to include mobile in it's own object
type UserIQMobileEvent = {
type: string
event_ts: number,
site_id: string,
uid: string, // userId - eg - "john.smith@useriq.com"
mobile: {
screenId?: number,
featureId?: number,
versionCode?: string, // versioncode is a increasing number indicating new releases of the app
versionString?: string, // version display string (no significance in segmentation)
storeKey?: string, // unique appId (analogous to domain name)
sdkVersion?: string, // version of UserIQSDK integrated in the app
formFactor?: string, // 'phone' or 'tablet'
apiKey?: string // unique api key given to the app
},
cvars: {
1: ['user_id', string], // set during sdk init
2: ['user_name', string], // set during sdk init
3: ['user_email', string], // set during sdk init
4: ['account_id', string], // set during sdk init
5: ['account_name', string] // set during sdk init
// other extra data
[idx: number]: [string, any]
}
}
- First time Users - users who install and open app for the first time
User who has logged in for the first time will have uid
(or user_id
) & account_id
composite key created for the first time. User's in this segment will match this criteria.
- All users - users who use all versions of the app
Targets all users of the app. version can be determined by using version_code
- Power users - users who use the app at least once per week in last 4 weeks
Determined using event_ts
frequency for last 30 days
- Active this week - users who used the app in last 7 days
Determined using event log for a user in for last 7 days
- Upgrade returning users - users that launch new version of the app
Users who visit first time with new version_code
Comments
0 comments
Article is closed for comments.