A Contact Form 7 report shows twelve measured events in its detailed rows and another twelve in a total. Combining every numeric cell produces twenty-four. Nothing doubled on the website: the export mixed two representations of the same measurement. Keep the response’s detail and aggregation areas separate before building the spreadsheet or management summary.

This guide concerns an authorized GA4 Data API reporting job you maintain. It assumes the desired form event is already collected and verified. It does not install tracking, retrieve private analytics data or treat a browser event as proof of a unique lead or inbox delivery.
Define what the headline counts
Write the headline in ordinary language before selecting an API metric. For example, it might count a specific event recorded during one closed reporting period. Record the property, event name, date boundaries, timezone and filters beside that definition. A total without those qualifiers is difficult to reconcile with the next extract.
Use the CF7 outcome reference to distinguish the signal you collect from later CRM or mail outcomes. If two sources observe different stages, matching totals are not an expected invariant. Our submission versus unique-lead guide explains another boundary that a convenient sum cannot resolve.
Request the aggregation deliberately
The runReport request reference documents metricAggregations. Add the required aggregation to the request rather than assume a client wrapper supplies it. The following synthetic request fragment uses a placeholder event name. Replace it with your verified collection contract and use your own authorized property in the request path.
{
"dateRanges": [{"startDate": "2026-11-01", "endDate": "2026-11-07"}],
"dimensions": [{"name": "eventName"}],
"metrics": [{"name": "eventCount"}],
"dimensionFilter": {
"filter": {
"fieldName": "eventName",
"stringFilter": {"matchType": "EXACT", "value": "form_outcome_example"}
}
},
"metricAggregations": ["TOTAL"]
}
The aggregation enum distinguishes TOTAL, MINIMUM, MAXIMUM and COUNT. An aggregation operation is part of the reporting specification. It does not change the underlying meaning of eventCount or turn it into a count of people. Choose the documented metric that answers the business question.
Read separate response containers
The response reference defines rows, totals, maximums and minimums separately. Read the requested aggregate from its corresponding area. The request documentation describes reserved dimension labels such as RESERVED_TOTAL on aggregation rows. Such a label is not a real form, page or campaign.
Give your internal representation an explicit row kind, such as detail or aggregate. Preserve the response headers with the values so that column positions remain interpretable. If an intermediate CSV flattens the response, carry the row kind into a separate column. Do not let a downstream pivot include aggregate records as if they were ordinary dimensions.
For a synthetic check, imagine detail values of seven and five, plus a total value of twelve. A detail-only sum is twelve. A headline read from the aggregate is also twelve. Adding that headline to its detail produces twenty-four and should fail your fixture. These numbers illustrate parser behavior, not results measured on this site.
Keep pagination out of the total calculation
rowCount describes the query’s result-row count; it is not the form-event total. An export can contain many grouped rows with very different event counts. Give the field a name such as result_row_count in your extraction receipt so that a later spreadsheet author does not mistake it for inquiries.
When paging, retain the requested aggregate as report metadata rather than appending another copy to every detail page. Follow the ordered pagination workflow for collecting detail. A limited first page should not become an apparently complete grand total merely because the HTTP request succeeded.
Make the export’s footer explicit: detail rows collected, expected result rows and selected headline value. A missing aggregate should remain unavailable until the response or an approved calculation supplies it. Quietly substituting the number of downloaded rows would change the meaning of the report while preserving a plausible-looking number.
Reconcile only compatible slices
Maintain one stable comparison key containing the property, reporting period, metric, filters and grouping definition. If any member changes, label the result as a different extract. Two individually correct numbers can disagree because one excludes a form, uses another date boundary or selects a different recorded event.
For multiple periods, keep the period identity next to each aggregate and review overlap with the named date-range guide. Do not combine overlapping periods into a larger headline. Likewise, user metrics and rates require their own documented aggregation rules; a simple sum across repeated people or an average of displayed percentages can mislead. Check each metric in the API schema.
Publish a total with its evidence
Save the request definition, extraction time, response headers and relevant response metadata with the report. Explain whether the number came from an API aggregation or a verified calculation over detail. Thresholding, restricted coverage and processing state remain limitations even when the arithmetic is correct.
Before release, check an empty result, a single row, multiple detail pages and an extract containing reserved aggregation labels. The acceptance rule is practical: every headline has one definition and one calculation path. For a separate WordPress-side view of recorded form activity, review Svetlik Analytics for Contact Form 7. Its observations still need a matching definition before comparison with GA4.
