Sub topic 16
Measuring results and iterating
This chapter assumes you can read the feed and JSON-LD examples from earlier chapters and run a short Python script. It also assumes you have access to Merchant Center reports and a web analytics tool. You do not need a statistics background.
What you can measure, and what you cannot
Shopping systems, including AI shopping answers, consume your feed, page markup, and merchant account data. Most of them do not report "this product was recommended in a conversational answer" as a separate line in your dashboards. Plan around that gap.
You can measure three things directly:
- Data quality. Merchant Center shows how many items are approved, how many are disapproved, and which issues affect them.
- Visibility proxies. Merchant Center performance reports and Search Console show impressions and clicks for product listings. Which surfaces these reports cover changes over time, so check what each one includes before you rely on it.
- Site outcomes. Your analytics tool shows sessions, add-to-cart events, and orders. Some sessions arrive with a referrer or campaign tag that identifies an AI assistant or shopping surface. Referrers are often missing, so treat those numbers as a lower bound.
You cannot reliably measure the share of AI answers that mention your product. Spot checks, such as asking an assistant about your products and recording the result, can add color. They are anecdotes, not a metric.
Measure in layers
Each layer answers a different question. A change at one layer should show up in the layer above it, with a delay.
| Layer | Example metrics | Question it answers | Typical lag |
|---|---|---|---|
| Data quality | Approved item count, disapproval count, number of items with warnings | Is the data eligible and accepted? | Hours to days after resubmission |
| Visibility | Impressions, clicks, click-through rate (CTR) per product | Are shoppers seeing and choosing the products? | Days to weeks |
| Outcome | Sessions from shopping surfaces, conversion rate, revenue | Does the traffic turn into sales? | Weeks |
Fixing a disapproval is a data-quality win. It does not prove a revenue gain. Report each layer separately so you do not claim more than you measured.
Set a baseline first
Before you change anything, record a baseline for at least two weeks, and longer if your sales vary by weekday. Capture these for each product or product group:
- Approval status and open issues, exported from Merchant Center.
- Daily impressions and clicks.
- Sessions and orders from product-listing traffic.
- The current feed values you plan to change, such as title, GTIN, and price.
Store the exports with dates in the filename. Without a baseline, any later number is just a number.
Change one thing at a time
If you rewrite titles, add GTINs, and fix prices on the same day, you cannot tell which change helped. Keep a change log with one row per change: date, affected item IDs, what changed, and the expected effect. Group changes so each experiment touches a clear set of products.
Feed freshness limits how fast results appear. A change takes effect only after you submit or fetch the feed and the system processes it. Add that delay to your measurement window, and do not judge a change before the data has refreshed.
Compare against control items
Raw before-and-after numbers mislead. Seasonality, promotions, and shifts in demand move everything at once. The simplest fix is a control group: products you did not change, with similar traffic. If changed items rise 38% in CTR and untouched items rise 5%, the change probably explains most of the gap, not all of the 38%.
The script below does this comparison. It builds a small sample dataset inline so it runs as shown. In practice, replace build_sample() with a CSV export that has the same columns: date, item_id, impressions, clicks.
import csv
import io
from collections import defaultdict
from datetime import date, timedelta
CHANGE_DATE = date(2026, 11, 8)
CHANGED = {"SKU-1001-BLU-M", "SKU-2002-RED-L"}
# item_id: ((impressions, clicks) per day before, (impressions, clicks) per day after)
LEVELS = {
"SKU-1001-BLU-M": ((400, 12), (420, 17)),
"SKU-2002-RED-L": ((300, 6), (310, 9)),
"SKU-3003-GRN-S": ((500, 15), (510, 16)),
"SKU-4004-BLK-M": ((350, 7), (340, 7)),
}
def build_sample():
buffer = io.StringIO()
writer = csv.writer(buffer)
writer.writerow(["date", "item_id", "impressions", "clicks"])
start = CHANGE_DATE - timedelta(days=7)
for offset in range(14):
day = start + timedelta(days=offset)
period = 0 if day < CHANGE_DATE else 1
for item_id, levels in LEVELS.items():
impressions, clicks = levels[period]
writer.writerow([day.isoformat(), item_id, impressions, clicks])
return buffer.getvalue()
def ctr(impressions, clicks):
return clicks / impressions if impressions else 0.0
def summarize(text):
totals = defaultdict(lambda: [0, 0])
for row in csv.DictReader(io.StringIO(text)):
day = date.fromisoformat(row["date"])
group = "changed" if row["item_id"] in CHANGED else "control"
period = "before" if day < CHANGE_DATE else "after"
totals[(group, period)][0] += int(row["impressions"])
totals[(group, period)][1] += int(row["clicks"])
result = {}
for group in ("changed", "control"):
before = ctr(*totals[(group, "before")])
after = ctr(*totals[(group, "after")])
relative = (after - before) / before if before else 0.0
result[group] = (before, after, relative)
return result
def main():
result = summarize(build_sample())
for group, (before, after, relative) in result.items():
print(f"{group}: CTR {before:.2%} -> {after:.2%} ({relative:+.1%})")
net = result["changed"][2] - result["control"][2]
print(f"net relative lift over control: {net:+.1%}")
if __name__ == "__main__":
main()The changed group's CTR rises about 38% and the control group's about 5%, so the net lift is roughly 34 percentage points. The sample uses fixed daily values, so there is no random noise. Real data is noisier, which is why the next section matters.
Common errors when reading results
- Too little data. Ten extra clicks on a product with 50 impressions is noise. Group products by category or brand and require a minimum number of impressions before you act on a result.
- Changing the control. If you later edit the control items, the comparison no longer holds. Log every edit.
- Confusing eligibility with ranking. Approving a previously disapproved item makes it eligible. It does not guarantee more exposure.
- Ignoring the lag. Compare windows of equal length that start after the feed has been processed, not on the day you submitted it.
- Trusting AI referrer data as complete. Missing referrers send some AI-driven visits to "direct" traffic. Look for a rise in direct traffic to product URLs alongside your tagged sessions.
Keep quality from regressing
Not every improvement comes from a new experiment. Data decays: prices change, items go out of stock, and new products arrive with missing GTINs. Build routine checks:
- Run the validation script from the validation chapter on every feed build, and fail the build on any problem.
- Watch the approved-item ratio daily and alert when it drops, for example below your own baseline minus a few points.
- Review the diagnostics page weekly for new issue types, especially price and availability mismatches between feed and landing page.
- Re-check that JSON-LD on a sample of product pages still matches the feed after each site release.
An alert on data quality catches a regression within a day. A revenue dashboard may take weeks to show the same problem.
Decide, record, repeat
At the end of each measurement window, make one of three decisions: keep the change, revert it, or extend the window because the data is too thin. Write the decision and the numbers in your change log. Over time, the log becomes a record of which kinds of edits help your catalog, such as identifiers on branded goods or variant grouping on apparel. It also shows which edits did nothing. Next, pick the next hypothesis from the diagnostics page or from the products with the most impressions and the lowest CTR.
Exercise
You add GTINs to 200 products on Monday and see a 12% rise in clicks the following week. Name two things you should check before concluding the GTINs caused the rise, and one design change that would make the conclusion stronger.
Show answer
First, check whether the feed was processed before the measurement window began, and whether anything else changed that week, such as a sale, a price change, seasonality, or a site release. Second, check whether untouched products also rose by a similar amount. To make the conclusion stronger, leave a comparable set of products unchanged as a control group and compare the relative change in clicks between the two groups, ideally over a longer window with a minimum number of impressions per group.
Exercise
In the script, what would happen to the "net relative lift" if you accidentally added a changed item's ID to the control group by editing its title during the test? Describe the effect on the interpretation.
Show answer
The control group would no longer represent untouched products. If the edit helps, the control's CTR rises too, so the net lift shrinks and understates the true effect. If the edit hurts, the net lift is overstated. This is why every edit must be logged and control items must stay unchanged for the whole window.