TanqoryDocs

tanqoryExtMarketingDashboard

  • Query
  • Orders and payments

Sessions, orders and sales of [from, to] (shop days) per day, by channel or campaign (groupBy, default CHANNEL). Sessions are the storefront visits that started that day under their own channel and campaign; orders and sales are credited by attributionModel (default LAST_NON_DIRECT_CLICK) as tanqoryExtMarketingPerformance credits them. traffic (default ALL) is Attribution's traffic filter.

Arguments

ArgumentTypeRequiredDefault
attributionModelTanqoryExtAttributionModelOptional
fromDate!Required
groupByTanqoryExtMarketingDashboardGroupOptional
toDate!Required
trafficTanqoryExtMarketingTrafficOptional

Returns

TanqoryExtMarketingDashboard!

FieldTypeDescription
attributionModelTanqoryExtAttributionModel!
coverageTanqoryExtMarketingCoverage!
currencyCodeCurrencyCode!
days[Date!]!

The days of the range, oldest first.

enabledBoolean!

False when the switch marketing_dashboard is off: the lists are then empty.

groupByTanqoryExtMarketingDashboardGroup!
models[TanqoryExtMarketingModelRow!]!

The rows under each split model (last non-direct click, last click, first click, linear), at most 25.

series[TanqoryExtMarketingDashboardSeries!]!

The six rows with the most sales, then "Other" (key __other__) with the rest summed.

trafficTanqoryExtMarketingTraffic!

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtMarketingDashboard($from: Date!, $to: Date!) {\n  tanqoryExtMarketingDashboard(from: $from, to: $to) {\n    attributionModel\n    currencyCode\n    days\n    enabled\n    groupBy\n    traffic\n  }\n}","variables":{"from":"","to":""}}'

Built from commit 0cac88ece6de · API version 2026-10