# New vs Returning Customers

## Model Scenario

In this report, we want to divide customers into returning and new customers (this is the most fundamental type of [customer segmentation](https://graphite-note.com/machine-learning-for-customer-segmentation)). The new customers have made only one purchase from your business, while the returning ones have made more than one.&#x20;

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2FZghpVNSdVfsqXiIImABg%2Fimage.png?alt=media&#x26;token=65b3e365-e27e-4448-9e9a-5d994f91c599" alt="" width="207"><figcaption><p>New vs Returning Customers</p></figcaption></figure>

Let’s go through their basic characteristics.&#x20;

New customers are:

* forming the foundation of your customer base
* telling you if your marketing campaigns are working (improving current offerings, what to add to your repertoire of products or services)

while returning customers are:

* giving you feedback on your business (if you have a high number of returning customers it suggests that customers are finding value in your products or service)
* saving you a lot of time, effort, and money.

Let's go through the New vs returning customer analysis inside Graphite. The dataset on which you will run your model must contain a **time-related column**.&#x20;

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2FX7I0ouNWwuClagc4DQ19%2Fimage.png?alt=media&#x26;token=1da58a10-e61d-46f3-a94c-77c6da6699ab" alt=""><figcaption></figcaption></figure>

Since the dataset contains data for a certain period, it's important to choose the **aggregation level**.&#x20;

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2FDi1UXg1wi8G042V5HUBa%2Fimage.png?alt=media&#x26;token=6a26a447-ea2f-4ddc-b027-442a4fcdbfc8" alt=""><figcaption></figcaption></figure>

For example, if weekly aggregation is selected, Graphite will generate a new vs returning customers dataset with a weekly frequency.

It is necessary to contain data such as **Customer ID**&#x20;

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2FNkwEETfNSztKyClwNYeP%2Fimage.png?alt=media&#x26;token=49474a79-fb75-4e32-90d2-b4644b56638a" alt=""><figcaption></figcaption></figure>

Additionally, if you want, you can choose the **Monetary (amount spent)** variable.

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2FkTaPyNUEzD7CjI77xrUO%2Fimage.png?alt=media&#x26;token=1f4e5043-1472-4911-b41d-b036bd6a3891" alt=""><figcaption></figcaption></figure>

With Graphite, compare absolute figures and percentages, and learn how many customers you are currently retaining on a daily, weekly, or monthly basis.

## Model Results

The model results consist of 4 tabs: [New vs Returning](#new-vs-returning), [Retention %](#retention), [Revenue New vs Returning](#revenue-new-vs-returning), and [Details ](#details)Tab.

### New vs Returning

Depending on the aggregation level, you can see the number of distinct and returning customers detected in the period on the **New vs Returning Tab**.

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2FF0QEEUJeRlBkgbL9f2YJ%2Fimage.png?alt=media&#x26;token=1b489fa2-c954-4894-be0a-3f2e2b36821b" alt=""><figcaption><p>Chart showing New and Returning customers in a period in a monthly representation</p></figcaption></figure>

For example, in December 2020, there were a total of 2.88k customers, of which 1.84K were new and 1.05K returning. You can also choose a daily representation that is more precise.&#x20;

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2F8yANC09BQy2clqWNq9qG%2Fimage.png?alt=media&#x26;token=2af3cf86-fadd-4a7a-92da-fe1d80230bd6" alt=""><figcaption><p>Chart showing New and Returning customers in a period in a daily representation</p></figcaption></figure>

### Retention %

If you are interested in retention, the percentage of your returning customers, through a period, use the **Retention % Tab**.

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2Fffjv7NIgOfIaQwpkS9sg%2Fimage.png?alt=media&#x26;token=a0944bf7-eba3-4094-8851-a61cfdbbb974" alt=""><figcaption><p>Chart showing the percentage of returning customers in a period in a monthly representation</p></figcaption></figure>

### Revenue New vs Returning

The results in the **Revenue New vs Returning Tab** depend on the Model Scenario: if you have selected a monetary variable in the [Model Scenario](#model-scenario), you can observe her behavior, depending on the new and returning customers.

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2FXjqXrlIzOssgHLo6ncyA%2Fimage.png?alt=media&#x26;token=eb924fda-2a65-4e74-825e-e6893e1c76ed" alt=""><figcaption><p>Chart showing the revenue spent depending if they are new customers or not in a period in a monthly representation</p></figcaption></figure>

### Details

Last but not least, on the **Details Tab**, you can find a detailed table where you can see all relevant values which were used for the above results.

<figure><img src="https://3727300098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgnR78y9L7FDWeb4jdvdW%2Fuploads%2FGjHkXmECLYssr7ZxrLjQ%2Fimage.png?alt=media&#x26;token=800361f6-5185-4c0a-9b32-917c3bfa1508" alt=""><figcaption><p>Details tab</p></figcaption></figure>
