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

# Import from Universal Analytics

> Migrate your Universal Analytics historical pageview data to GhostlyX.

<Note>
  Data import requires the **Scale plan**.
</Note>

## About Universal Analytics exports

Universal Analytics stopped collecting new data on July 1, 2023. However, the UA interface and its export functionality remain available, so you can still export your historical data.

## Step 1: Export from Universal Analytics

1. In Universal Analytics, go to **Behavior > Site Content > All Pages**.
2. Set the date range to cover the full period you want to import.
3. Scroll to the bottom of the table and set the number of rows to show as many rows as possible.
4. Click **Export** and choose **CSV**.

## Step 2: Upload to GhostlyX

1. Go to your site dashboard and click **Import Data**.
2. Select **Universal Analytics**.
3. Upload the CSV file.
4. Click **Start import**.

## Column mapping

| UA column | GhostlyX field |
| --------- | -------------- |
| Page      | Page path      |
| Pageviews | Pageviews      |

## Notes

* The exported CSV from UA includes a header block with report metadata before the data rows. GhostlyX handles this automatically.
* If your report contains more rows than the UA interface allows in a single export, split the export by date range and import each file separately.
