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

# is_advocate

> Check if a customer has successfully referred others to earn advocate status.

## Syntax

<Tabs>
  <Tab title="Liquid">
    ```liquid theme={null}
    customer.metafields.lantern.is_advocate
    ```
  </Tab>
</Tabs>

## Description

The `is_advocate` metafield indicates whether a customer has successfully referred other customers who completed their first purchase. Advocate status is earned when referrals result in completed orders, and it can unlock special benefits or recognition in your loyalty program.

<Info>
  Advocate status is earned through successful referrals and may unlock additional program benefits.
</Info>

## Properties

**Type:** `Boolean`
**Namespace:** `lantern`
**Auto-updated:** Yes

## Return Values

| Scenario                   | Value   | Type    |
| -------------------------- | ------- | ------- |
| Has successful referrals   | `true`  | Boolean |
| No successful referrals    | `false` | Boolean |
| Not eligible for referrals | `null`  | null    |
| Logged out                 | `null`  | null    |

## Examples

### Basic Advocate Status

```liquid theme={null}
{% assign is_advocate = customer.metafields.lantern.is_advocate %}
{% if is_advocate %}
  <div class="advocate-badge">
    <span class="badge badge-gold">🌟 Advocate</span>
    <p>Thank you for spreading the word!</p>
  </div>
{% endif %}
```
