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

# Referrers

> Visits and conversion by the site that sent them, and by medium (social, search, email).

Visits and conversion by the site that sent them, and by medium (social, search, email).

## Example

```sql theme={null}
FROM session_referrers
  SHOW sessions, sessions_that_completed_checkout
  GROUP BY human_or_bot_session
  SINCE startOfMonth(-1m) UNTIL today
  ORDER BY sessions DESC
```

## Metrics

| Metric | Type | Description |
| - | - | - |
| `sessions` | Number | Visits to the online store. Bots count too unless the report keeps Human sessions only. |
| `sessions_that_completed_checkout` | Number | Visits that ended in a purchase. |
| `conversion_rate` | Percent | Visits that ended in a purchase, as a share of visits. |

## Dimensions

| Dimension | Description |
| - | - |
| `human_or_bot_session` | Human or Bot, as Shopify classes the visit. Shopify's session reports keep Human only. |
| `referrer_name` | The site that sent the visit. |
| `referrer_domain` | The referring site's domain, such as google.com. |
| `referring_medium` | Email, SMS, Social, Search, Display and so on. Social gives sessions by social source. |

## Filters

| Filter | Type | Description |
| - | - | - |
| `referrer_name` | Text | The site that sent the visit. |
| `referrer_domain` | Text | The referring site's domain, such as google.com. |
| `human_or_bot_session` | Text | Human or Bot, as Shopify classes the visit. Shopify's session reports keep Human only. |
| `referring_medium` | Text | The referring medium. |

## Linked records

Fields of the records this dataset reaches can be shown, grouped by and filtered on, written with a dot after the record (for example `shop.name`). Each record's page lists its fields.

| Write | Record | Reached through |
| - | - | - |
| `shop.<field>` | [Store](https://docs.queryful.app/queryfulql/records/shop.md) | Store |

## Related datasets

* [Sessions](https://docs.queryful.app/queryfulql/datasets/sessions.md)
* [Product page visits](https://docs.queryful.app/queryfulql/datasets/product_sessions.md)
* [UTM sessions](https://docs.queryful.app/queryfulql/datasets/utm_sessions.md)
* [Searches](https://docs.queryful.app/queryfulql/datasets/searches.md)
* [Search conversions](https://docs.queryful.app/queryfulql/datasets/search_conversions.md)
* [Product recommendations](https://docs.queryful.app/queryfulql/datasets/product_recommendations.md)
* [Web performance](https://docs.queryful.app/queryfulql/datasets/web_performance.md)
* [Search queries](https://docs.queryful.app/queryfulql/datasets/search_queries.md)
* [Recommendation conversions](https://docs.queryful.app/queryfulql/datasets/product_recommendation_conversions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.