> ## 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.

# locationId

> Store, affiliate, or location identifier.

Store, affiliate, or location identifier.

```javascript theme={null}
window._upstack('track', 'purchase', {
  transactionId: 'ORD-12345',
  value: 134.99,
  currency: 'USD',
  locationId: 'store_nyc_001'
});
```

| Type   | Required | Events     |
| ------ | -------- | ---------- |
| string | No       | All events |

## Use Cases

* **Multi-location retail**: Track which store location drove the conversion
* **Affiliate tracking**: Identify which affiliate partner referred the customer
* **Franchise tracking**: Attribute conversions to specific franchise locations

## Related Properties

<CardGroup cols={2}>
  <Card title="creativeSlot" icon="table-cells" href="/pixel/events/properties/creative-slot">
    Creative placement position.
  </Card>

  <Card title="promotionId" icon="bullhorn" href="/pixel/events/properties/promotion-id">
    Promotion identifier.
  </Card>
</CardGroup>
