> ## Documentation Index
> Fetch the complete documentation index at: https://docs.invoca.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Capture the Entry Page URL

> Capture the complete URL of a caller's first visit as a Marketing Data field, useful for troubleshooting query string parameters.

## Before you begin

You need access to Settings > Marketing Data and Settings > Invoca Tags to complete this setup.

## Creating the entry page Marketing Data field

1. Go to **Settings** > **Marketing Data**.
2. Click **+ New Data Field** and choose **Long Text**. Contact your account team if you don't see the option to create a new field.
3. Under **Partner (API) Name**, enter `entry_page`.
4. Under **Friendly Name**, enter **Entry Page URL**.
5. Under **Attribution Model**, select **First Touch**.
6. Click **Save**.

## Adding the field to your Invoca Tag

1. Go to **Settings** > **Invoca Tags** and select the tag(s) to update.
2. On the Revision History page, select **New Draft**.
3. Add a note describing the change.
4. Find the new Marketing Data field in the attribution table.
5. Update the **Data Source Type** to **JavaScript Data Layer**.
6. Update the **Data Source Name** to `window.location.href`.
7. Save and test the tag.
8. Push the draft live when you're ready.

## Where to go next

* [Creating Marketing Data Fields](/s/article/creating-marketing-data-fields)
* [Capturing Marketing Data](/s/article/capturing-marketing-data)
