# Hidden field

The **Hidden field** lets you collect data silently in the background — without showing anything to customers on the form.

It’s one of the most powerful fields because it helps you track where submissions come from, which page or product, and extra metadata without asking users to fill it in.

***

### ✅ When should I use a Hidden field?

Use a Hidden field when you want to:

* Track page URL or page title
* Capture product info (title, vendor, type)
* Save UTM parameters (marketing campaigns)
* Pass values between fields
* Store internal notes or tags
* Send extra data to email, integrations, or Shopify

Note:  Customers never see this field on the form.

***

### 🧩 How to add a Hidden field

1. Open your form in the editor
2. Click **Add element**
3. Select **Hidden**

The field will be added to your form, but it will not appear in the preview.

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FSn3LMGUztbINbSqOGLVD%2F2025-12-19_10-35-42.png?alt=media&#x26;token=ca1defc7-d4eb-43d5-bb10-e036caef10cf" alt=""><figcaption></figcaption></figure>

***

### ⚙️ Hidden field settings

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FMWTiuliUlaDh1KtlVXxK%2F2025-12-19_10-36-48.png?alt=media&#x26;token=0d8183fd-aaf0-43e2-8ac1-d69bf916468c" alt=""><figcaption></figcaption></figure>

#### Label

Internal name for the field (for you only).

**Example**

* `Page source`
* `Campaign`
* `Product info`

This label appears in submissions and emails.

***

#### Data type

Choose where the value comes from.

Most commonly used options:

* **Fixed value**
* **Dynamic value** (page, product, UTM, or other fields)

***

#### Assign value

This is where you define what data is saved.

You can type:

* Plain text
* Or use a dynamic variable (recommended)

***

### 🔄 Dynamic values (most used)

You can automatically capture data using built-in variables.

#### Page information

**Page title**

Captures the page name where the form is submitted.

```
{{-page.title-}}
```

**Example result**\
`Miami Location`

***

**Page URL**

Captures the full page URL.

```
{{-page.href-}}
```

**Example result**<br>

[`https://hienxinh.myshopify.com/pages/contact-form-2`<br>](https://hienxinh.myshopify.com/pages/contact-form-2)

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FYI9nYPa7uJj6dT9A1XXS%2F2025-12-19_10-39-08.png?alt=media&#x26;token=dfc9e2e2-5509-4371-9617-b9a75dc7a1e0" alt=""><figcaption></figcaption></figure>

***

#### Product information (on product pages)

If the form is shown on a product page, you can capture product data.

Product title

```
{{-product.title-}}
```

[**Example**\
`A-Line Jacket`](#user-content-fn-1)[^1]

***

Product vendor

```
{{-product.vendor-}}
```

**Example**\
`Fashion Style`

***

Product type

```
{{-product.type-}}
```

**Example**\
`Outerwear`

***

### 📈 UTM tracking (marketing campaigns)

Hidden fields are perfect for tracking ads and campaigns.

#### Common UTM variables

* `{{-utm.source-}}` → Google, Facebook
* `{{-utm.medium-}}` → cpc, email
* `{{-utm.campaign-}}` → summer\_sale
* `{{-utm.content-}}`
* `{{-utm.term-}}`

**Example**\
Hidden field label: `utm_source`\
Assign value:

```
{{-utm.source-}}
```

Result: You know exactly where each submission came from.

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2F0w7GNo774AFluw3j427L%2F2025-12-19_10-43-28.png?alt=media&#x26;token=6aa982b3-4a14-463e-a654-d8b9595aa0e8" alt=""><figcaption></figcaption></figure>

***

### 🔗 Capture values from other fields

You can also store values entered by customers.

#### Example

Hidden field label: `Customer email`\
Assign value:

```
{{email}}
```

This is useful when:

* Sending data to integrations
* Reusing values in emails
* Creating internal references

***

### 📧 Set hidden email address

You can use a **Hidden field** to store an email address and then use it to send admin notifications conditionally.

This is useful when:

* Different submissions should notify different teams
* Each location or department has its own email
* You don’t want users to choose or see the email field

[Learn more](https://docs.powerfulform.com/mail-notification/admin-emails-with-conditions)

***

#### Need More Help?

If you still need assistance, please contact us at [**support@powerfulform.com**](mailto:support@powerfulform.com). Our team will be happy to help you resolve any issues or guide you further.

[^1]:
