Metrics

GreatPages metrics via API

Your customer connects their GreatPages account and your product queries 10 metrics through the same endpoint as every other platform. Each metric has an id (reference_key) that goes in the request.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "comparison_start": "2026-09-01",
  "comparison_end": "2026-09-30",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "great_pages:total_views",
      "component": "number_v1",
      "metrics": [
        "view"
      ],
      "dimensions": [
        "views"
      ]
    }
  ]
}
Example: "Total Visits" in October, compared to September.

More GreatPages request examples

The same endpoint for every kind of metric. The metrics and dimensions of each item come from the platform catalog (GET /api/metrics/{integration_slug}).

Chart

Conversion Rate Per Day

The conversion rate per day calculated based on views and conversions in the analyzed period.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "great_pages:conversion_rate_per_day",
      "component": "chart_v1",
      "metrics": [
        "conversion_rate_per_day"
      ],
      "dimensions": [
        "day"
      ]
    }
  ]
}

Number

Total Conversions

The total number of conversions in the analyzed period.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "great_pages:total_conversions",
      "component": "number_v1",
      "metrics": [
        "conversion"
      ],
      "dimensions": [
        "conversions"
      ]
    }
  ]
}

Numbers

5 metrics

  • Total Visits

    The total number of views in the analyzed period.

    great_pages:total_views
  • Total Conversions

    The total number of conversions in the analyzed period.

    great_pages:total_conversions
  • Conversion Rate

    The conversion rate calculated based on views and conversions in the analyzed period.

    great_pages:conversion_rate
  • Visit Frequency

    The visit frequency calculated based on views in the analyzed period.

    great_pages:frequency
  • Total Impressions

    The total number of impresions in the analyzed period.

    great_pages:total_impressions

Charts

5 metrics

  • Conversion Rate Per Day

    The conversion rate per day calculated based on views and conversions in the analyzed period.

    great_pages:conversion_rate_per_day
  • Conversion Per Day

    Total conversions per day in the analyzed period.

    great_pages:conversion_per_day
  • View Per Day

    Total views per day in the analyzed period.

    great_pages:views_per_day
  • Impressions Per Day

    Total impressions per day in the analyzed period.

    great_pages:impressions_per_day
  • Frequency Per Day

    Total frequency per day in the analyzed period.

    great_pages:frequency_per_day

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.