> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# New Customer Agency Fees: Acquisition Agency Costs

> Track agency fees for new customer orders. Understand marketing agency costs for customer acquisition.

<Tip>
  New Customer Agency Fees tracks user-defined agency costs allocated to first-time buyer orders.
</Tip>

## Formula

<Info>
  **NC Agency Fees** = **SUM** ( Order Cost Entries ) **WHERE** category = Agency Fees **AND** customer\_type = new\_customer
</Info>

### Formula Components

| Metric                                                                                            | Definition                                             |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| **Order Cost Entries**                                                                            | User-defined costs configured in Upstack Cost Settings |
| **category = Agency Fees**                                                                        | Filters to costs categorized as agency fees            |
| [**customer\_type = new\_customer**](/data-dictionary/measures-and-dimensions#visitor-dimensions) | Filters to first-time buyer orders                     |

| Metadata        |                                                                      |
| --------------- | -------------------------------------------------------------------- |
| **Type**        | Currency                                                             |
| **Data Source** | [Upstack Costs](/sources/upstack-costs), [Shopify](/sources/shopify) |
| **Aggregation** | Sum                                                                  |

***

## Example

Your Shopify store has **\$10,000** in agency fees for **200 new customer orders**.

| Metric                   | Value    | Calculation                |
| ------------------------ | -------- | -------------------------- |
| New Customer Orders      | 200      | First-time buyers          |
| NC Agency Fees           | \$10,000 | Sum of agency cost entries |
| NC Agency Fees Per Order | \$50.00  | \$10,000 ÷ 200             |

This represents the portion of agency costs attributable to customer acquisition.

***

## How It Works

Agency fees are allocated to new customer orders based on your cost configuration. This helps you understand the true cost of acquisition including external agency management fees for prospecting campaigns.

***

## When to Use

| Scenario                      | Action                                         |
| ----------------------------- | ---------------------------------------------- |
| True CAC calculation          | Include agency fees in acquisition cost        |
| Agency performance evaluation | Compare NC agency costs to acquisition results |
| In-house vs agency comparison | Model acquisition cost differences             |
| Budget planning               | Understand agency impact on NC margins         |

***

## Related Metrics

| Metric                                                                                         | Relationship                              |
| ---------------------------------------------------------------------------------------------- | ----------------------------------------- |
| [Agency Fees](/reference/metrics/orders/contribution-margin/agency-fees)                       | Total agency fees for all orders          |
| [RC Agency Fees](/reference/metrics/orders/contribution-margin/returning-customer-agency-fees) | Agency fees for returning customer orders |
| [NC Marketing Cost](/reference/metrics/orders/contribution-margin/new-customer-marketing-cost) | Other marketing costs for new customers   |
| [CAC](/reference/metrics/orders/performance/cac)                                               | Customer acquisition cost                 |

[See all Contribution Margin metrics →](/reference/metrics/orders/contribution-margin)
