Currently Available: Need a skilled Software Developer for your next project?
Categories
SEO, GEO and AEO

Reconciling Bing AI Performance Exports With Site Analytics

Bing Webmaster Tools reports which pages Microsoft’s AI experiences cite in their answers. Your analytics and CRM systems record visits and business outcomes, such as orders or leads. When you line up these two datasets, you can see how citation visibility tracks alongside business results. Bing’s export does not connect a citation to a specific person, visit, or conversion.

Before you join the tables, use each outcome’s stable ID so you count every order or lead once. Then match Bing’s rows and your outcome totals at the same level of detail, such as a normalized page URL and reporting period. You can use that comparison to spot where citations and outcomes overlap, though it cannot prove that a citation caused a sale or lead.

Treat Bing rows as aggregate observations

Microsoft describes AI Performance data as sampled and summarized. The report gives you page-level citation counts and grounding queries, which are grouped phrases summarizing what people searched rather than exact prompts. The AI Performance documentation also notes that filters change what appears in an export and that totals can differ across report views.

Treat each exported row as a single observation at one level of detail, known as its grain. A page-level row groups counts by page, and a query-level row groups them by query. Neither row represents an individual visitor or transaction, so do not add their counts together as if they were separate events. Microsoft’s documentation does not publish a complete export schema with version history or a permanent ID for each source row. Inspect the headers in every downloaded file, and log which report view and filters you selected.

Define a row identity and preserve export snapshots

A stable row identity tells your pipeline what one row represents. Build it from the fields that define a row in that export table: the site or property, report family, table name, reporting period, and the dimensions present at that table’s grain. If filters change which rows Bing includes, record those filters as part of the report scope so exports with different filters never collide as the same dataset.

For a daily row grouped by page, you might use the site, report table, date, and page URL. For a row grouped by query, you might use the site, table, date, and grounding query. Leave citation counts out of the key, because Microsoft can update those numbers when it refreshes or refines the report.

To create a practical key, put the identifying fields in a fixed format and order before you hash them. Standardize each field and represent missing values the same way every time so two different rows never produce the same hash. Store download metadata separately from the row identity:

row_key = hash(
  site_or_property
  + report_family
  + table_name
  + filter_signature
  + period_start
  + period_end
  + dimensions_present_at_this_table_grain
)

export_batch_id
downloaded_at
file_hash
source_filename
selected_date_range
filters_applied

The row_key identifies the observation in a row, while the batch fields identify a specific download. Store the original file and its headers alongside your parsed tables. For more on storing the exported fields, see Parsing Bing AI Performance Exports Into Database Rows.

Handle repeated records differently depending on what repeated:

  • If you download the same file twice, check its file hash or batch metadata so your pipeline skips the duplicate import.
  • If you download Microsoft’s report again for the same period, keep the new snapshot for comparison and pick one snapshot as the reported value for that period. Never add the old and new counts together.
  • If a row_key appears more than once inside a single file, compare its dimensions and measures. Collapse the rows only when every field matches. If the measures differ, inspect the table grain and export contents instead of summing or dropping a row silently.

Sum rows only when they cover non-overlapping periods at the same grain and the measure is safe to add across those periods.

Join on page URL and reporting period

To compare page-level data, join on a normalized page URL. Apply the same documented rules to both Bing’s cited page and your analytics landing page. Lowercase the hostname and strip URL fragments and known tracking parameters, while keeping path differences that point to separate pages. Retain each original URL alongside the normalized key, and apply a redirect or canonical-URL mapping when your site serves the same content at multiple addresses. That keeps your joins consistent while preserving the raw source values.

Use the reporting period to bound the comparison, since it cannot identify an individual visitor. Align time zones and period boundaries across both systems. If Bing reports a page total across a multi-day date range, aggregate your analytics records over that exact range before you join them. Daily analytics rows cannot give you a daily match when Bing only supplies page totals for a longer window.

Grounding queries can help you group pages or outcomes by topic, yet they do not link individual conversions. A grouped query phrase does not identify the person who searched or the visit that followed. Analytics campaign tags and traffic-source fields describe recorded visits, and Google documents UTM-based campaign reporting in its manual campaign report. Even with those tags in place, neither system provides an ID that connects a Bing citation row to a CRM outcome.

Deduplicate outcomes before joining

Count each business outcome by the ID that uniquely identifies it in its source system. Use an order or transaction ID for sales, and use a stable lead or submission ID for leads. Before you total outcomes, check how the source system handles retries, updates, cancellations, refunds, and duplicate events.

Google Analytics, for example, documents transaction-ID deduplication for purchase events and requires a unique transaction ID for each order. That safeguard only covers purchases configured with those IDs; it does not deduplicate every analytics event or CRM record automatically. See Google’s guidance on transaction IDs.

Keep your raw records, pick one record to represent each outcome ID, count unique outcomes by page and period, and then join those totals to Bing. The SQL below demonstrates this pattern using example function and column names, since Bing does not publish a fixed export schema:

WITH ranked_outcomes AS (
  SELECT
    outcome_id,
    outcome_type,
    outcome_time,
    landing_page,
    ROW_NUMBER() OVER (
      PARTITION BY outcome_type, outcome_id
      ORDER BY source_updated_at DESC
    ) AS row_num
  FROM outcome_source
),
unique_outcomes AS (
  SELECT
    outcome_id,
    outcome_type,
    outcome_time,
    landing_page
  FROM ranked_outcomes
  WHERE row_num = 1
),
outcomes_by_page_period AS (
  SELECT
    normalize_url(landing_page) AS page_key,
    reporting_period(outcome_time) AS period_key,
    COUNT(DISTINCT outcome_id) AS outcome_count
  FROM unique_outcomes
  GROUP BY 1, 2
)
SELECT
  bing_page_period.page_key,
  bing_page_period.period_key,
  bing_page_period.citation_count,
  outcomes_by_page_period.outcome_count
FROM bing_page_period
LEFT JOIN outcomes_by_page_period
  ON bing_page_period.page_key = outcomes_by_page_period.page_key
 AND bing_page_period.period_key = outcomes_by_page_period.period_key;

Keep the latest source record only when its update timestamp and your source system’s business rules make it the right version to count. Cancellations and refunds often need separate handling instead of overwriting the original order record.

Check for join fan-out

A join fans out when one row on either side matches multiple rows on the other. If you join a page-level citation row directly to raw order records, the query repeats the citation count on every order row. If you join query-level data to several pages, the query repeats outcome totals across every matching page. Both mistakes inflate your numbers even when neither source holds duplicate records.

Before you run the join, reduce each source to one row per chosen page-and-period key. Afterward, compare the count of unique outcome IDs before and after the join, and check whether any keys matched multiple rows on either side. COUNT(DISTINCT outcome_id) keeps your outcome count accurate, yet it does not fix an unintended many-to-many join or make repeated citation counts safe to sum.

Keep page-level and query-level exports in separate reporting views. Microsoft notes that sampled data and differences between report views can produce different totals, so do not force the two views to reconcile. For related guidance on join design, see Joining Citation, Referral, and CRM Data Without Double Counting.

Keep reporting separate from attribution

A reporting join lines up metrics that share dimensions such as page and period. Attribution assigns credit for an outcome to a specific source or interaction using a defined model. You cannot use a reporting join to establish attribution.

A page-period table supports a statement like, “Pages with reported AI citations also recorded these outcomes during the period.” It does not support claiming that AI citations generated those conversions. Microsoft describes citations as visibility in AI-generated answers rather than clicks or traffic, and its public export documentation provides no citation-level ID that links a citation to a session or conversion.

Hypothetical example, article setup: technical explainer: direct mechanism. Suppose one page appears in two exports for the same period with citation counts of 8 and 10. Keep both exports as separate snapshots and select one version for that period, because adding them would count the same reporting window twice. Now suppose an analytics confirmation page fires two purchase events with the same order ID. Deduplicate those events by order ID before you aggregate them. A page-period join can then place the selected citation count next to the unique order count, without claiming that a citation caused either order.

What I'm building

Delegate tasks. Get software.

Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.

Take a look at vroni.com

Email updates

Usually a new article and a few links I found interesting.

No spam. Unsubscribe with one click.

Leave a Reply

Your email address will not be published. Required fields are marked *