--- title: CustomerVisit - GraphQL Admin description: >- A customer's session on the online store. Tracks how the [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer) arrived at the store, including the landing page, referral source, and any associated marketing campaigns. The visit captures attribution data such as [`UTMParameters`](https://shopify.dev/docs/api/admin-graphql/latest/objects/UTMParameters), referral codes, and the [`MarketingEvent`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MarketingEvent) that drove the session. This information helps merchants understand which marketing efforts successfully bring customers to their store. api_version: 2026-01 api_name: admin type: object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerVisit' md: 'https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerVisit.md' --- # Customer​Visit object Requires `read_orders` access scope or `read_marketplace_orders` access scope. A customer's session on the online store. Tracks how the [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer) arrived at the store, including the landing page, referral source, and any associated marketing campaigns. The visit captures attribution data such as [`UTMParameters`](https://shopify.dev/docs/api/admin-graphql/latest/objects/UTMParameters), referral codes, and the [`MarketingEvent`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MarketingEvent) that drove the session. This information helps merchants understand which marketing efforts successfully bring customers to their store. ## Fields * id * landingPage * landingPageHtml * marketingEvent * occurredAt * referralCode * referralInfoHtml * referrerUrl * source * sourceDescription * sourceType * utmParameters *** ## Map ### Fields with this object * [CustomerJourney.firstVisit](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerJourney#field-CustomerJourney.fields.firstVisit) * [CustomerJourney.lastVisit](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerJourney#field-CustomerJourney.fields.lastVisit) * [CustomerJourneySummary.firstVisit](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerJourneySummary#field-CustomerJourneySummary.fields.firstVisit) * [CustomerJourneySummary.lastVisit](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerJourneySummary#field-CustomerJourneySummary.fields.lastVisit) *** ## Interfaces * CustomerMoment * Node *** ## CustomerVisit Implements ### Implements * [Customer​Moment](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/CustomerMoment) * [Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node)