> For the complete documentation index, see [llms.txt](https://docs.powerfulform.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerfulform.com/trouble-shooting/forms-loading-on-every-page-performance-issue.md).

# Forms loading on every page (performance issue)

If you notice that all **Powerful Contact Form Builder** are being loaded in the page source on every page, this is expected behavior when the **app embed** is enabled in your Shopify theme.

However, for stores with many forms (for example, franchise or location-based sites), this may feel unnecessary and can impact performance.

This guide explains why this happens and how to load forms only on the pages where they’re needed.

### 💡 Why this happens

When the **app embed** of **Powerful Contact Form Builder** is enabled:

* The app script is injected into the **`<head>`** of every page
* This script includes references to all forms created in the app
* This ensures forms work anywhere on the store without extra setup

For stores with many forms (e.g. 50–100+), this can result in:

* Larger page payloads
* Unused scripts on pages that don’t contain forms

***

### ✅ Recommended solution

To load forms only on specific pages, we recommend:

1. **Disable the app embed**
2. **Display forms manually using app block**

This ensures:

* Forms load only where they are displayed
* No unnecessary scripts are added to other pages

***

### ⚙️ Step 1: Disable the app embed&#x20;

Disable the app embed to prevent scripts from loading globally.

👉 Follow this guide: [**How to remove/uninstall the app from a theme**](https://docs.powerfulform.com/form-setup/theme-integration#how-to-remove-uninstall-the-app-from-a-theme)

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FBQws9nWYpyINXx8LSKRe%2Fimage.png?alt=media&amp;token=6e391360-5ed3-43cc-befe-64995e62547c" alt=""><figcaption></figcaption></figure>

Once disabled:

* The app script will no longer load on every page
* Forms will only appear where you explicitly add them

***

### ⚙️ Step 2: Add the form with app block from &#x20;

After disabling the embed, display forms using app block from Form app.

👉 Guide: [**Add form with app block**](https://docs.powerfulform.com/form-setup/add-a-form-with-app-block)

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FJp62vNJZjOKZW038BYib%2Fimage.png?alt=media&amp;token=688fabdd-812d-4ea0-839a-f37000565727" alt=""><figcaption></figcaption></figure>

***

### 📌 Example use case

**Franchise website with 90+ location pages**

* Each location page has its own form
* App embed enabled → all 90+ forms load on every page ❌
* App embed disabled + shortcode per page → only the correct form loads.

***

#### Need More Help?

If you still need assistance, please contact us at <contact@globo.io>. Our team will be happy to help you resolve any issues or guide you further.
