---
title: "Marketing Attribution + AI Queries: Find Your Best-ROI Channels"
description: "Last-touch attribution with natural language queries. Query campaign performance, platform ROAS, and CAC across Google, Meta, LinkedIn, Reddit, X with natural language."
date: "2025-11-17"
draft: false
tags:
  - "Product"
  - "Attribution"
---

## Why Attribution Matters

Synter is the AI Agent Operator for Ads. It connects 16 ad
platforms and your CRM (Salesforce, HubSpot, Attio, Pipedrive) via
Direct API, ties ad spend to pipeline and revenue, and answers
attribution questions in plain language.

You&apos;re running ads on Google, LinkedIn, Meta, Reddit, and X.
Leads convert after multiple touchpoints.
Which channel deserves credit?

Without clear attribution, you&apos;re flying blind: over-investing
in low-ROI channels, under-funding winners, and guessing at budget
allocation.

Synter&apos;s AttributionService uses
last-touch attribution as a clear, deterministic
default—and lets you query it with AI.

## Last-Touch Attribution: Simple, Explainable

Last-touch gives 100% credit to the final click before conversion.
Why this model?

- Deterministic: No black-box ML weighting; every
conversion ties to a UTM
- Actionable: Pause low-ROAS campaigns immediately
- Platform-consistent: Matches how Google Ads and
Meta report conversions
- Easy to explain: Finance and leadership
understand it

We track UTM parameters (utm_source,
utm_campaign, utm_medium) and platform
click IDs (GCLID, FBCLID, li_fat_id) to tie conversions back to
campaigns.

## API: /api/attribution/dashboard

Fetch attribution metrics with filters:


Query params: ?startDate=2025-10-01&endDate=2025-11-01&platform=google_ads

Response:
,
"byPlatform": [
,

// ...
],
"byCampaign": [

// ...
]
}`}
/>

## AI Tools: Natural Language Queries

Instead of writing SQL or navigating dashboards,
ask Synter directly:

**Example Queries**

- →
"Which campaigns drive the most sales?"
- →
"Show me ROAS by platform for Q4"
- →

"What&apos;s my CAC on LinkedIn vs Google Ads?"
- →
"Find campaigns with ROAS below 2.5"


Tool: queryCampaignPerformance

The AI calls queryCampaignPerformance() to fetch
conversion, revenue, and spend metrics filtered by date range,
platform, and campaign.




Tool: queryPlatformAttribution

For platform-level comparisons, the AI uses
queryPlatformAttribution():

## UTM Consistency: The Foundation

Attribution only works if your UTMs are consistent. Synter enforces:

- Auto-tagging: Campaigns launched via Synter get
standardized UTMs (utm_source=google_ads,
utm_campaign=camp_id)
- Click ID tracking: GCLID, FBCLID, li_fat_id
captured in session data
- Fallback logic: If UTM missing, use click ID →
platform; else "direct"

## Integration with Growth Dashboard

Attribution metrics power the

Growth Dashboard

:

- ROAS KPI: Calculated from attributed conversions
/ spend
- CAC by channel: Platform-level CAC in the
ChannelPerformance table
- Conversion funnel: Last-touch platform shown in
funnel drop-offs



View live attribution data:

/blog/growth-dashboard

## Ask Synter About Your Attribution

Connect your ad platforms and ask: "Which campaigns drive the
most sales?"



Connect Platforms →


View Dashboard
