query LeadSourceAnalytics {
leadSourceAnalytics {
bookedCalls
closeRate
closes
revenue {
amount
currency
formatted
}
revenueBreakdown {
booked {
amount
currency
formatted
}
collected {
amount
currency
formatted
}
}
revenueSummary {
byCurrency {
booked {
__typename
}
collected {
__typename
}
saleCount
}
missingCurrency {
bookedAmount
collectedAmount
saleCount
}
}
}
}{
"data": {
"leadSourceAnalytics": [
{
"bookedCalls": "value",
"closeRate": "value",
"closes": "value",
"revenue": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"revenueBreakdown": {
"booked": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"collected": {
"amount": "value",
"currency": "string",
"formatted": "string"
}
},
"revenueSummary": {
"byCurrency": [
{
"booked": {
"__typename": "Money"
},
"collected": {
"__typename": "Money"
},
"saleCount": "value"
}
],
"missingCurrency": {
"bookedAmount": "value",
"collectedAmount": "value",
"saleCount": "value"
}
}
}
]
}
}leadSourceAnalytics
Lead source analytics (UTM attribution breakdown)
Organisation-wide aggregate with no per-rep grain. A member session in a
workspace that restricts members to their own book (AUR-902) is refused
with extensions.code: "FORBIDDEN", reason: "member_visibility" rather
than handed a narrowed total that would read as the organisation’s.
@param startDate - ISO 8601 start date
@param endDate - ISO 8601 end date
leadSourceAnalytics(endDate: String, startDate: String): [LeadSourceAnalytics!]!Arguments
Returns
Number of booked calls from this source
Close rate for this source as a percentage (0-100)
Number of closes from this source
Revenue from this source
Booked and collected revenue from this source, named.
Unique sales grouped by recorded currency, with missing currency amounts shown separately. No exchange rate is applied.
Number of shows from this source
UTM source value (e.g., "google", "facebook")
query LeadSourceAnalytics {
leadSourceAnalytics {
bookedCalls
closeRate
closes
revenue {
amount
currency
formatted
}
revenueBreakdown {
booked {
amount
currency
formatted
}
collected {
amount
currency
formatted
}
}
revenueSummary {
byCurrency {
booked {
__typename
}
collected {
__typename
}
saleCount
}
missingCurrency {
bookedAmount
collectedAmount
saleCount
}
}
}
}{
"data": {
"leadSourceAnalytics": [
{
"bookedCalls": "value",
"closeRate": "value",
"closes": "value",
"revenue": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"revenueBreakdown": {
"booked": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"collected": {
"amount": "value",
"currency": "string",
"formatted": "string"
}
},
"revenueSummary": {
"byCurrency": [
{
"booked": {
"__typename": "Money"
},
"collected": {
"__typename": "Money"
},
"saleCount": "value"
}
],
"missingCurrency": {
"bookedAmount": "value",
"collectedAmount": "value",
"saleCount": "value"
}
}
}
]
}
}