# subscription-page

> Renders the single subscription contract named in the page url.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/elements/subscription-page  
Updated: 2026-10-13

## Where it can go

- **Anywhere** on the page.
- **Out of place,** it stays in the page and does nothing: goes to / without ?id (or ?test), session or contract.

## What it requires

- Shopify’s **customer accounts**, and `newCustomerAccountsPublicKey` in [`SmootifyUserOptions`](https://www.smootify.io/docs/reference/options).

## Attributes on the element

- **Smootify writes** `data-contract-id`, `data-status` on it: do not set them yourself.

## Attributes inside it

| Group | Attribute name | Values |
|---|---|---|
| [Loading](https://www.smootify.io/docs/reference/attributes/loading) | `skeleton` | 5 |
| [Subscription](https://www.smootify.io/docs/reference/attributes/subscription) | `subscription` | 17 |

## Loading

Its code loads only on pages that have `subscription-page`.
