Hey @MrPunkin.
You can access this information on a CustomerVisit via the Admin GraphQL API. This can be accessed through Order.CustomerJourney.Moment(CustomerVisit). A query for that would look like this:
query { orders(first:200) { edges { node { customerJourney { moments { ...on CustomerVisit { utmParameters { source campaign content medium term } } } } } } } }
The above makes use of inline fragments, which you can learn more about here if that's unfamiliar to you.
To get that data on a specific order, you can query that order directly:
{ order(id: "gid://shopify/Order/5642150741") { id customerJourney { moments { ... on CustomerVisit { utmParameters { source campaign content medium term } } } } } }
Let me know though if I'm misunderstanding your question.
Edit
Looks like you edited your post, I'll put this up regardless.
User | Count |
---|---|
13 | |
12 | |
10 | |
8 | |
8 |