Demography

Providing demography information about your users will allow you to send targeted push notofication; ex: send a push notification at user birthday or only users from New York or any custom parameter.

It will also improve your Ad revenue through better targeting options.

Please ensure that you pass on the values for the fields which you collect, and have user consent to share this data.

Demographics Data JavaScript API

JavaScript API app.demography provides functions to set demographic information about the user:

Gender

Gender of the user.

  • Male: m
  • Female: f

Education

The education level.

  • None: none
  • High School: highschool
  • College: college
  • Bachelors Degree: bachelors
  • Masters Degree: masters
  • Doctoral Degree: doctoral
  • Others: others

Date Of Birth

The date of birth of the user in YYYY-MM-DD format.

Year Of Birth

The year of birth of the user in YYYY format.

Age

The age of the user.

Income

Approximate annual household income (in US Dollars).

Postal Code

The postal code (Usually a 5 digit number).

City

The city of the user.

Area Code

The area code (part of the telephone number).

Interests

Any additional relevant description of the user, or their preferences, separated by commas. Valid acceptable values are mentioned below:

  • Business
  • Tech
  • Travel
  • Shopping
  • Entertainment
  • Fashion
  • Fitness
  • Foodie
  • Gamer
  • Jobs
  • Sports

IDs

Indicates a login ID and session ID in the website.

Marital Status

The marital status of the user.

  • Single
  • Divorced
  • Engaged
  • Relationship

Language

The native language of the user (if known). Expected format is two letter code (ISO 639-1): "en" for English, "es" for Spanish, "de" for German, etc. For more examples. List of ISO 639-1 codes.

Has Children

Whether the user has children: y or not: n.

Social Network

Indicates Social Network IDs of the user.

Custom

Any additional description of the user