customer-segmentation

1.0.2 • Public • Published

Customer Segmentation

Customer segmentation according to the revenue|spend they made within the network

We have two different segmentation prespectives (Behavioral and Marketing)

Marketing segmentation

Is the practice of dividing your target market into approachable groups

Behavioral segmentation

refers to a process in marketing which divides customers into segments depending on their behavior patterns when interacting with a particular business or website.

Installation

npm i customer-segmentation --save

Example || Usage

const { customerSegment } = require("customer-segmentation");
const behavior = customerSegment({ name: "John Doe", revenue: 2500, age: 30 });

The customerSegment function take 5 argumens that are name, revenue, city, networkOperator, and age.

Object that will be returned :

Customer {
  name: 'John Doe',
  revenue: 834,
  city: undefined,
  networkOperator: undefined,
  age: 30,
  behaviorSegmentation: 'H',
  marketSegmentation: 'MASS MARKET'
}

License

MIT © Euclidio Venancio

Package Sidebar

Install

npm i customer-segmentation

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

4.14 kB

Total Files

6

Last publish

Collaborators

  • eudagraca