Uncategorized

Community Tip: Useful Super Properties

Super Properties give you the power to cohortize user actions by descriptions of your users. This Community Tip lists many useful super properties by industry or focus, and describes how to implement super properties with any of Mixpanel’s client-side SDKs.


Note: Super Properties are supported in all Mixpanel client-side libraries: JavaScript, iOS, Android, and AS3.

What is a Super Property?

Generally, Super Properties are things you know about the user rather than about a specific event – for example, the age, gender, advertising source, or initial referrer.

To make things easier, you can register these properties as super properties. If you tell us just once that these properties are important, we will automatically include them with all events sent. Super properties are stored in a browser cookie or local storage, and will persist between visits to your site or app.

What should I register as a Super Property?

Super properties are applicable to all aspects of your business. Considering the common business framework we describe in Mixpanel for Pirates, we focus on the key metrics for acquistion, activation, retention, revenue, and referrals. Let’s describe some Super Properties that could help us analyze each of these key metrics.

Acquisition

  • Sign up date
  • Ad campaign source
  • A/B test group
  • User ID

Activation

  • User plan or type (e.g. “Premium Plan”)
  • First time user flag
  • Incremental feature usage count
  • Boolean key feature use

Retention

  • Last app open
  • Last key feature usage date

Revenue

  • Last purchase date
  • Last purchase Amount
  • Lifetime revenue

Referral

  • Referring user ID
  • Invited date

We already have two awesome posts about tracking two of these types of Super Properties in detail: First Time Users, Incremental Super Properties like Lifetime revenue or counts of key feature usage.

Super Properties are very useful for a broad range of business goals – no matter what framework you use to think about your digital business. Beyond the AARRR framework, useful Super Properties also vary from industry to industry as business goals also differ.

We’ve rounded up a list of useful Super Properties by industry:

eCommerce

  • Incremental purchase count
  • Category of items purchased (list)
  • Incremental LTV
  • Count items in cart
  • Demographic information

SaaS

  • User type (free/paid/enterprise)
  • Permission level (owner/user)
  • Organization name
  • Customer life age (how long they’ve been a customer)
  • Contact count

Game

  • Last level finished
  • Total games played
  • User type (free/paid)
  • Incremental play time
  • Friend count

Media Share (photo/video/text)

  • Total media viewed
  • Total media shared
  • media types viewed (list)
  • Registered date
  • Total friends / followers
  • Favorite count

Know any useful Super Properties that we should include here? Reach out and let us know: support@mixpanel.com and we’ll include them.

How does a Super Property work?

Now that we’ve listed many useful Super Properties, we’d like to dig into the technical aspects of how to implement them in your web or mobile app.

For the property to be included with all events, the Mixpanel library utilizes local storage. In Javascript, the library takes advantage of the browser’s cookie to store this information. Our Android and iOS SDKs both use device storage. In all cases, Super Properties persist between usages, but could be lost in extreme cases.

Mixpanel supports two methods for creating Super Properties. The first of these functions is mixpanel.register. The register function takes in a dictionary of items to create as Super Properties:

JavaScript

mixpanel.register({
    "User Type": "Paid"
});

iOS

Mixpanel *mixpanel = [Mixpanel sharedInstance];
[mixpanel registerSuperProperties:@{@"User Type": @"Paid"}];

Android

MixpanelAPI mixpanel =
MixpanelAPI.getInstance(context, MIXPANEL_TOKEN);

JSONObject props = new JSONObject();
props.put("User Type", "Paid");
mixpanel.registerSuperProperties(props);

The second function is mixpanel.register_once. This function takes in a dictionary and will only save each entry if it does not already exist as a Super Property on that device:

mixpanel.register_once({
    "Gender": "Male",
    "Age": "28"
});

Have any questions about implementing Super Properties? Reach out to support@mixpanel.com to speak to someone smart, quickly.

Get the latest from Mixpanel
This field is required.