# Compare GA4 purchases with store orders by transaction ID

**Use case:** 

Compare normalized GA4 purchase and store-order exports by exact transaction ID. Review missing counterparts, duplicate IDs and comparable value differences. Tested synthetic example; replace data and scope for each new period. One completed report costs $0.25 including platform usage. No Google or store account connection.

## Input

```json
{
  "propertyScope": "demo-property-opaque",
  "exportScope": "daily-purchase-and-paid-order-exports",
  "purchaseValueBasis": "merchandise net of discounts; excludes tax and shipping",
  "orderValueBasis": "merchandise net of discounts; excludes tax and shipping",
  "tolerance": "0.01",
  "window": {
    "start": "2026-09-30T00:00:00Z",
    "end": "2026-10-01T00:00:00Z",
    "timezone": "Z"
  },
  "purchaseCoverage": "complete",
  "orderCoverage": "complete",
  "purchases": {
    "rows": [
      {
        "rowId": "00001",
        "transactionId": "00001",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "10.000000"
      },
      {
        "rowId": "00002",
        "transactionId": "00002",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "15.20"
      },
      {
        "rowId": "event-only",
        "transactionId": "event-only",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "4.00"
      },
      {
        "rowId": "duplicate",
        "transactionId": "duplicate",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "12.00"
      },
      {
        "rowId": "duplicate",
        "transactionId": "duplicate",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "12.00"
      },
      {
        "rowId": "currency",
        "transactionId": "currency",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "EUR",
        "value": "9.00"
      },
      {
        "rowId": "missing-id-row",
        "transactionId": null,
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "8.00"
      },
      {
        "rowId": "old",
        "transactionId": "old",
        "timestamp": "2026-09-29T12:00:00Z",
        "currency": "USD",
        "value": "6.00"
      }
    ]
  },
  "orders": {
    "rows": [
      {
        "rowId": "00001",
        "transactionId": "00001",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "10.01"
      },
      {
        "rowId": "00002",
        "transactionId": "00002",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "15.00"
      },
      {
        "rowId": "order-only",
        "transactionId": "order-only",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "2.00"
      },
      {
        "rowId": "duplicate",
        "transactionId": "duplicate",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "12.00"
      },
      {
        "rowId": "currency",
        "transactionId": "currency",
        "timestamp": "2026-09-30T12:00:00Z",
        "currency": "USD",
        "value": "9.00"
      }
    ]
  }
}
```

## Output

```json
{
  "summary.purchaseRows": {
    "label": "purchaseRows",
    "format": "integer"
  },
  "summary.orderRows": {
    "label": "orderRows",
    "format": "integer"
  },
  "summary.matchedTransactions": {
    "label": "matchedTransactions",
    "format": "integer"
  },
  "summary.flaggedTransactions": {
    "label": "flaggedTransactions",
    "format": "integer"
  },
  "summary.unresolvedTransactions": {
    "label": "unresolvedTransactions",
    "format": "integer"
  },
  "summary.findingCount": {
    "label": "findingCount",
    "format": "integer"
  },
  "summary.outOfWindowRows": {
    "label": "outOfWindowRows",
    "format": "integer"
  },
  "summary.reviewRequired": {
    "label": "reviewRequired",
    "format": "boolean"
  },
  "summary.outcome": {
    "label": "outcome",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The GA4 Ecommerce Purchase & Order Reconciliation Actor is ready to run with the inputs already set for "Compare GA4 purchases with store orders by transaction ID". [Sign up or log in](https://console.apify.com/create-task-from-example/3Af5DafMOpqmlQW4x) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare GA4 purchases with store orders by transaction ID" task

The GA4 Ecommerce Purchase & Order Reconciliation Actor will start running based on the input automatically. You can also change all the input fields, like single property scope, export scope, and more, to match your specific use case.

### 3. Receive the "Compare GA4 purchases with store orders by transaction ID" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as purchaserows, orderrows, matchedtransactions, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Compare GA4 purchases with store orders by transaction ID" task via API](https://apify.com/h_murdock/ga4-order-reconciliation.md).

## About this Actor

This example demonstrates how to use [GA4 Ecommerce Purchase & Order Reconciliation](https://apify.com/h_murdock/ga4-order-reconciliation.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/h_murdock/ga4-order-reconciliation.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/h_murdock/ga4-order-reconciliation.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
