# Attribute traffic and revenue to X posts

> See the actual X posts that sent visitors and revenue instead of t.co links.

Source: https://metricraven.com/docs/x-link-attribution  
Markdown: https://metricraven.com/docs/x-link-attribution.md  
Section: Features

X wraps every link in a t.co short link. MetricRaven matches those links to the posts that contain them, so you see which tweets brought visitors and customers.

> **Note:** Posts are resolved on the Growth plan. Other plans still see each t.co link with its numbers.

## See the posts

1. **Open the Acquisition card → Referrer**

   Click X (t.co or x.com) to filter by it.

2. **Read the list of links**

   Each row is one t.co link with its visitors and revenue. When MetricRaven has found the post with that link, the row shows the author and the post instead of the link. Click a post to open it on X.

## How posts are found

- **Posts linking to your site.** The weekly X check also finds posts that link to your domain. Nothing to set up.
- **Link in bio.** If your website is in the profile of your own or an affiliate X account, add the handle in Settings → Integrations → X and Reddit → **Link attribution**. Visits through that profile link show as the account.

## Details

- Attribution works for visits recorded after this feature shipped, because the tracker now keeps the t.co link of X visits. Earlier X visits stay in one `t.co` row.
- Some X apps send only `https://t.co/` or `x.com` without the link; those visits stay in one row.
- Revenue is credited to the link of the customer's first visit, as everywhere else.
- Only add handles whose profile links to your website. Profiles are refreshed at each weekly check.
- From code: [GET /api/v1/stats/x-referrers](https://metricraven.com/docs/reports-api#mentions) or the MCP tool `get_x_referrers`.
