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

# add_to_wishlist Event

> Track when a visitor adds a product to their wishlist

Fires when a visitor adds a product to their wishlist or saves it for later. This indicates high purchase intent and is valuable for remarketing campaigns.

<Note>
  **Shopify:** Manual implementation required. Requires a wishlist app or custom implementation.
</Note>

## JavaScript

```javascript theme={null}
window._upstack('track', 'add_to_wishlist', {
  items: [
    {
      id: 'SKU_12345',
      name: 'Classic Cotton Tee',
      price: 34.99,
      brand: 'Example Brand'
    }
  ],
  value: 34.99,
  currency: 'USD'
});
```

## Properties

| Property | Type   | Required | Description                |
| -------- | ------ | -------- | -------------------------- |
| items    | array  | Yes      | Products added to wishlist |
| value    | number | No       | Product price              |
| currency | string | No       | ISO 4217 currency code     |

## When to Fire

* Wishlist/favorite button click
* Save for later action
* Heart icon click on product

## Related Events

* [view\_content](/pixel/events/view-content) — When viewing the product
* [add\_to\_cart](/pixel/events/add-to-cart) — When adding to cart instead
