> For the complete documentation index, see [llms.txt](https://docs.overse.app/hubble/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overse.app/hubble/advanced/integrations/love-loyalty.md).

# Love Loyalty

Turn on the Love Loyalty integration to use loyalty program points, loyalty program level, and other Love Loyalty metafields in variables and conditions.

[Love Loyalty](https://www.loveloyalty.app/) stores loyalty data on the customer as Shopify metafields. Hubble's Love Loyalty integration exposes those metafields inside Hubble, so you can show them in content and target customers with them.

### Turn on the integration

{% stepper %}
{% step %}

#### Open Hubble

In your Shopify admin, go to **Apps** and select **Hubble**.
{% endstep %}

{% step %}

#### Open Settings

Go to Hubble's **Settings** page.

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FVHGCDB3kaeDFHk4fIINO%2Fimage.png?alt=media&amp;token=c85915e8-3dff-491b-a9f2-ebeb934dc552" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Enable Love Loyalty

Toggle the **Love Loyalty** integration on.

Once it is on, Love Loyalty variables are available in the [variable picker](/hubble/variables/intro-to-variables.md) and as customer metafield rules in [conditions](/hubble/conditions/intro-to-conditions.md).

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FTZWwQOxgksABaLfWmVkX%2Fimage.png?alt=media&amp;token=798a859b-fc25-46ae-994d-98e497d1468b" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### What the integration exposes

Turning the integration on exposes Love Loyalty's customer metafields as variables. They include:

| Metafield                         | What it represents                              |
| --------------------------------- | ----------------------------------------------- |
| **Loyalty program points**        | The customer's current point balance.           |
| **Loyalty program level**         | The customer's loyalty program level.           |
| **Other Love Loyalty metafields** | Additional loyalty data stored on the customer. |

These show up in the variable picker and in condition rules as customer metafields. They follow Hubble's [supported metafield types](/hubble/variables/supported-metafield-types.md).

### Use them in variables

Open the variable picker in any block that accepts [variables](/hubble/variables/intro-to-variables.md) and choose a Love Loyalty customer metafield, such as **Loyalty program points** or **Loyalty program level**.

Hubble replaces the variable with that customer's value when the page loads. A banner can show a member their point balance, or name the level they are in.

[Filters](/hubble/variables/supported-variable-filters.md) work on these variables the same way they work on other variables. Use `default` when you want a fallback if the metafield is empty.

### Use them in conditions

The same metafields can be used as customer rules when you [create a condition](/hubble/conditions/create-a-condition.md).

For example:

* Show a reward reminder to customers based on **Loyalty program points**.
* Show level-specific content based on **Loyalty program level**.

Assign that condition to a block the same way you assign any other condition. The block appears when the customer's Love Loyalty data matches the rules.
