> ## 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 Matomo

> Migrate your Matomo historical pageview data to GhostlyX.

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

## Step 1: Export from Matomo

1. In Matomo, go to **Behavior > Pages**.
2. Set the date range to cover the full period you want to import.
3. Scroll to the bottom of the table and click **Export**.
4. Choose **CSV** as the export format.

## Step 2: Upload to GhostlyX

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

## Column mapping

| Matomo column | GhostlyX field  |
| ------------- | --------------- |
| `Label`       | Page path (URL) |
| `Pageviews`   | Pageviews       |

## Notes

* Matomo's **Label** column contains the full URL of the page. GhostlyX will extract the path from the URL during import.
* If your Matomo report has more rows than the UI allows in a single page, adjust the **Display rows** setting to maximum before exporting.
* Matomo may include subdomain information in the Label column depending on your configuration. GhostlyX strips the domain and retains only the path.
