> ## Documentation Index
> Fetch the complete documentation index at: https://statsig-4b2ff144-mintlify-java-core-statsig-options-migrati.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom DAU Metric Creation Guide

> Step-by-step guide to create custom Daily Active User (DAU) metrics tailored to your specific business needs.

# Custom DAU Metric Creation Guide

This guide will walk you through the steps to create a custom DAU metric. Follow
the instructions carefully to ensure successful creation of your metric.

### **Step 1: Navigate to the Metrics Catalog**

To begin, go to the "Metrics Catalog" in the left navigation bar and click on
"Create" button.

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-java-core-statsig-options-migrati/eGBiCUQVaI7LDtzN/images/custom-metrics/Picture1.png?fit=max&auto=format&n=eGBiCUQVaI7LDtzN&q=85&s=0d8334fc33a1bd6c9a70c88b349ec5c8" alt="Picture1.png" width="2880" height="1692" data-path="images/custom-metrics/Picture1.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-java-core-statsig-options-migrati/eGBiCUQVaI7LDtzN/images/custom-metrics/Picture2.png?fit=max&auto=format&n=eGBiCUQVaI7LDtzN&q=85&s=b75a7d4362f3f9781bba79e4ecc785a5" alt="Picture2.png" width="2880" height="1800" data-path="images/custom-metrics/Picture2.png" />
</Frame>

### **Step 2: Name your metric**

Name your metric. For example, I am naming it "Add to Cart DAU".

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-java-core-statsig-options-migrati/eGBiCUQVaI7LDtzN/images/custom-metrics/Picture3.png?fit=max&auto=format&n=eGBiCUQVaI7LDtzN&q=85&s=fb5ddebb00852328dfcc0da390d81b51" alt="Picture3.png" width="2880" height="1800" data-path="images/custom-metrics/Picture3.png" />
</Frame>

### **Step 3: Choose the metric type**

Since we want to create a DAU metric, choose the metric type as "Unit Count".

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-java-core-statsig-options-migrati/eGBiCUQVaI7LDtzN/images/custom-metrics/Picture4.png?fit=max&auto=format&n=eGBiCUQVaI7LDtzN&q=85&s=21f2aa375a64926123e868149b64361e" alt="Picture4.png" width="2880" height="1800" data-path="images/custom-metrics/Picture4.png" />
</Frame>

### **Step 4: Select the ID type**

Select the ID type you want to count. Here I am selecting "User ID" which it is the most common use-case for DAU metrics.

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-java-core-statsig-options-migrati/eGBiCUQVaI7LDtzN/images/custom-metrics/Picture5.png?fit=max&auto=format&n=eGBiCUQVaI7LDtzN&q=85&s=3ebe442ec2c3797e0fb8d1e8aa8dae0b" alt="Picture5.png" width="2880" height="1800" data-path="images/custom-metrics/Picture5.png" />
</Frame>

### **Step 5: Choose the event**

Next, choose the event that you want to use for your metric. In this case, I select the event "Add to Cart".

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-java-core-statsig-options-migrati/eGBiCUQVaI7LDtzN/images/custom-metrics/Picture6.png?fit=max&auto=format&n=eGBiCUQVaI7LDtzN&q=85&s=e99425e727a77f2d90b4a3c6555be58f" alt="Picture6.png" width="2880" height="1800" data-path="images/custom-metrics/Picture6.png" />
</Frame>

### **Step 6: Submit the metric**

Submit the metric and your custom DAU metric is now created!

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-mintlify-java-core-statsig-options-migrati/eGBiCUQVaI7LDtzN/images/custom-metrics/Picture7.png?fit=max&auto=format&n=eGBiCUQVaI7LDtzN&q=85&s=d1de687970dfca593c46955159a82430" alt="Picture7.png" width="2880" height="1800" data-path="images/custom-metrics/Picture7.png" />
</Frame>
