Skip to main content

Get Available Metrics

Retrieve the list of available metrics you can track.
string
required
The brand/project ID
string
Filter metrics relevant to split tests (optional)
Request
cURL

Get Metrics Data

Retrieve actual metrics values for a date range.
string
required
The brand/project ID
string
required
Start date (ISO 8601 format)
string
required
End date (ISO 8601 format)
string
Timezone (e.g., “America/New_York”)
array
Array of metric keys to retrieve
string
Filter by specific field values (e.g., filter[aff_id]=123)
string
Filter by specific page
string
Filter by specific split test
string
Optional. Only use when your integration or account documentation specifies a value.
Request
cURL

Get Analytics Cards

For the full card catalog (batch vs per-card URLs, subscription analytics, split-test charts), see Analytics dashboard cards. Retrieve specialized analytics cards data (video analytics, fulfillment metrics, etc.).
string
required
The brand/project ID
string
required
Start date (ISO 8601 format)
string
required
End date (ISO 8601 format)
array
Array of card types to retrieve
Request
cURL

Get Grouped Metrics

Retrieve metrics grouped by a specific field (e.g., by product, page, affiliate).
string
required
The brand/project ID
string
required
Grouping field: product, page, aff_id, day, hour, country, device, utm_source, etc.
string
required
Start date (ISO 8601 format)
string
required
End date (ISO 8601 format)
array
Array of metric keys to retrieve
Request
cURL

Export Grouped Metrics

Export grouped metrics to CSV or Excel.
string
required
The brand/project ID
string
required
Grouping field
array
Array of metric keys to export
string
Export format: csv or excel (default: csv)
object
Date range object with start/end dates
Request
cURL

Available Grouping Fields

  • hour - Hour of day (0-23)
  • day - Calendar day
  • week - Week number
  • month - Month
  • year - Year
  • hour_of_day - Time grouping
  • aff_id - Affiliate (requires permission)
  • subid - Sub ID
  • merchant_id - Merchant
  • page - Landing page
  • product - Product
  • funnel_id - Funnel
  • country - Visitor country
  • region - Visitor region
  • shipping_country - Shipping destination
  • shipping_state - Shipping state
  • device - Device type (desktop/mobile/tablet)
  • os - Operating system
  • browser - Browser type
  • screen_resolution - Screen size
  • language - Browser language
  • utm_source - Traffic source
  • utm_medium - Marketing medium
  • utm_campaign - Campaign
  • utm_term - Keyword/term
  • utm_content - Ad content
  • referrer - Referring website

Compound Grouping

You can group by multiple fields simultaneously using semicolon separation:
This groups metrics by both product AND page.

Filtering

Apply filters using the filter[field] query parameter:

Custom Metrics

You can create custom metrics using formulas:
cURL
Custom metric formulas support:
  • Basic math operators: +, -, *, /, ()
  • Variables: $metric_name (e.g., $revenue, $sales)
  • Format types: currency, pct (percentage), time, number

Common Metrics


Notes

  • All dates should be in ISO 8601 format
  • The system automatically compares current period with previous period of equal length
  • Some metrics require specific modules to be enabled
  • Permission-restricted metrics (like aff_id) require appropriate user permissions
  • Analytics storage may vary by brand configuration
When grouping by aff_id, ensure your API key’s user has the affiliates.view permission

UTM Performance

Break down conversions and revenue by a single UTM dimension across a date range.
string
required
The brand/project ID
string
required
UTM dimension: utm_source, utm_medium, utm_campaign, utm_term, utm_content
string
required
Start date (ISO 8601)
string
required
End date (ISO 8601)
string
Timezone (e.g. America/New_York)
cURL

Specific Analytics Cards

Individual endpoints for specialised analytics data. All accept start and end (ISO 8601) query params.

Time Before First Purchase

How long visitors waited before converting — useful for identifying checkout hesitation.

Add-to-Carts by Video Watch Time

Identifies at which point in a video visitors add to cart — use to find optimal CTA placement.

Customer Gender Distribution

Video Completion by Gender

Products by Pages

Conversion performance broken down by page → product pair.

Upsell Take Rate

Units Sold


Report Builder

Build, save, and export custom cross-dimensional analytics reports.

Generate Report

array
required
Dimension keys to group by (e.g. ["product", "utm_source"]). See grouping fields.
array
required
Metric keys (e.g. ["revenue", "sales", "conversion_rate"])
string
required
Start date (ISO 8601)
string
required
End date (ISO 8601)
object
Key-value filters (e.g. {"device": "mobile", "country": "US"})
number
Max rows returned (default: 100)
cURL

Get Available Grouping Fields (Report Builder)

Get Reporting Periods

Returns available pre-set periods: today, yesterday, last_7_days, last_30_days, this_month, last_month, etc.

Save Report

string
required
Report name
object
required
Same body as generate — stored and re-runnable on demand.

List Saved Reports

Load Saved Report

Export Saved Report

Delete Saved Report

Export Current Report

string
csv (default) or excel
Other body fields same as Generate. Queues an export job and emails a download link when complete.

Analytics Segments

Create and manage reusable audience segments for filtering reports.

List Segments

Get Segment

Create Segment

string
required
Segment name
array
required
Array of condition objects. Each has field, operator (eq, neq, gte, lte, in), and value.
string
How conditions combine: and (default) or or
cURL

Update Segment

Delete Segment

Preview Segment

Run a segment definition against live data without saving it.
Body: same as Create.

Install Default Segments

Installs a curated starter set (e.g. “New Buyers”, “Repeat Customers”, “Abandoned Carts”).