website logo
HomeGo to Dashboard
User Guide
How-To Videos
Developers
Navigate through spaces
⌘K
Getting Started
Introduction
Compatibility
Terminology
SDK Installation
Shopify
Any Website
Dukaan
Angular 2+
WooCommerce
WordPress
Android Native
iOS Native
Flutter
Cordova
Ionic
React Native
Data Integration
Data Models
Mandatory Events
Mandatory Properties
Call to Action
System Events
Device Properties
Docs powered by
Archbee
SDK Installation
Android Native

Tracking Properties on Android

2min

Track User Properties

As the user launches the app for the first time, Cooee will create a user profile for them. By default, we add multiple properties for a particular user which you can see in System Default User Properties. Along with these default properties, additional custom attributes/properties can also be shared. We encourage mobile apps to share all properties for better machine learning modelling.

Check out the Mandatory User Properties for more details.

Java
Kotlin
|
void updateUserProfile() {
    CooeeSDK cooeeSDK = CooeeSDK.getDefaultInstance(context);

    Map<String, String> profile = new HashMap<>();
    profile.put("name", "John Doe");
    profile.put("email", "john@example.com");
    profile.put("mobile", "9876543210");
    profile.put("Logged In", true);
    profile.put("foo", "bar");

    cooeeSDK.updateUserProfile(profile);
}




Updated 03 Mar 2023
Did this page help you?
PREVIOUS
Tracking Events on Android
NEXT
Tracking Screens on Android
Docs powered by
Archbee
TABLE OF CONTENTS
Track User Properties
Docs powered by
Archbee