# Install on Instapage

Canonical: https://sourcetag.io/docs/install-instapage

Add SourceTag's tracking script to your Instapage landing pages using the custom code settings. Track exactly which campaigns and sources drive your landing page conversions.

## Step 1: Copy your script tag

In your SourceTag dashboard, go to your site's detail page and copy the script tag. It looks like:

```html
<script src="https://cdn.sourcetag.io/scripts/YOUR_SITE_ID/st.js"></script>
```

## Step 2: Add to Instapage

1. Open your landing page in the Instapage builder
2. Go to **Settings** for the page
3. Open the **HTML/CSS** section (sometimes called "Custom Code")
4. Paste the script tag into the **Head** section
5. Save

## Step 3: Publish

Publish (or republish) your landing page. The tracking script is now active.

## Step 4: Test

Visit your landing page with UTM parameters:

```text
https://yourpage.instapage.com/?utm_source=test&utm_medium=cpc&utm_campaign=instapage-test
```

Submit the form on your landing page and check wherever your submissions are received. The submission should include hidden fields with attribution data.

## Notes

- The script works with Instapage's built-in form elements. You'll need to add hidden fields to your forms yourself - SourceTag only populates fields that already exist. See [Add Hidden Fields](https://sourcetag.io/docs/fields-html) for the field names.
- Instapage pages are typically single-page landing pages, so the script captures attribution data and attaches it to the form on the same page.
- If you're using Instapage's built-in integrations to send leads to a CRM or email platform, the attribution hidden fields will be included in the submission data.
- Browser cookies are limited to 7 days on Instapage (no server-side cookie option available for Instapage pages currently).
