Getting Traffic referrer source in Admin GraphQL API

Getting Traffic referrer source in Admin GraphQL API

TomCalmigo
Shopify Partner
21 0 1

Hi, 

I created custom report in analytics and I have this column called "Traffic referrer source" which indicates the referrer type domain that the user came from.

I contains multiple option (Direct, Search, Social..)

For example if the user came from Google then the "Traffic referrer source" column will have the value "Search" and if the user came From Facebook then it will have the value "Social"

I'm trying to get this info by GraphQL but I couldn't find it, this is part of the query I tried

{
  order(id: "gid://shopify/Order/xxxxxxxxxxxxxx") {
    customerJourneySummary {
      lastVisit {
        utmParameters {
          campaign
          content
          medium
          source
          term
        }
        referrerUrl
        source
        sourceType
      },
    }
  }
}

Does any one know how can I reach this information?

 

Thanks in advance,

Tom

 

 

 

Reply 1 (1)

piesod
Shopify Partner
4 0 1

@TomCalmigo Did you get an answer to your question some how? Im wondering the same thing.