Blog
How to Know Which Ad Generated a Sale
For some businesses, knowing which ad generated a sale is easy.
Someone sees an offer on TikTok, clicks, buys, and that’s it.
Ad → Product → Checkout → Sale
If most of your sales happen this way, you may not need a sophisticated attribution setup at all.
The reporting provided by Meta Ads, TikTok Ads, Google Ads, or the platform where the purchase happens may already answer the questions that matter to your business.
The problem starts when the sale doesn’t happen on the first interaction.
Imagine a product the customer doesn’t know yet, or doesn’t immediately understand why they should buy.
They discover your brand through an ad.
They don’t buy.
A few days later, they see one of your organic posts on Instagram.
Then they search for the topic on Google.
They visit your website again.
They receive an email.
Weeks later, a remarketing campaign reaches them with an offer that finally makes sense at that moment.
And they buy.
The journey may now look like this:
Meta Ads
↓
Organic content
↓
Google
↓
Website
↓
Email
↓
Remarketing
↓
Sale
Which ad generated that sale?
Maybe that’s no longer the right question.
Was it the first ad that introduced the brand?
Was it the content that increased the customer’s awareness of the problem?
Was it the Google search?
The email?
Or was it the remarketing ad that appeared when the customer was finally ready to buy?
The longer the time between discovery and purchase, and the more channels involved in that process, the less useful it becomes to look only at the last click.
This is where understanding the customer acquisition journey starts to matter.
Not every business needs complex attribution
This is worth making clear.
If you sell a product with a simple buying decision and the journey usually looks like this:
Ad → Offer → Purchase
attribution is a relatively small problem.
If someone clicks an ad and buys a few minutes later, identifying where that sale came from is usually straightforward.
This happens in many direct-response businesses and with products that require little awareness-building before the purchase.
Now consider a different scenario.
You have your own brand, sell a product that needs to be introduced to the market, or offer a course, software product, service, or higher-ticket product.
The buying decision doesn’t necessarily happen on the first interaction.
The customer needs to discover:
What is this?
↓
Why does this matter to me?
↓
Why should I want this?
↓
Why this solution?
↓
Why this brand?
↓
Why should I buy now?
Acquisition stops being just a click.
It becomes a process.
And that process may take days, weeks, or even months.
The problem appears when the journey gets longer
Imagine that a sale takes 60 days to happen.
On day one:
Meta Ads
↓
First interaction with the brand
On day ten:
Organic Instagram
↓
Another interaction
On day twenty:
Google
↓
Blog article
On day thirty-five:
Email
↓
Content
On day fifty:
YouTube
↓
Review / demonstration
On day sixty:
Remarketing
↓
Offer
↓
Sale
If we look only at the last click, the answer seems obvious:
Remarketing generated the sale.
But did it?
Without the first ad, that person may never have discovered the brand.
The article they found on Google may have answered their biggest objection.
The email content may have built trust.
And the remarketing campaign may simply have appeared at the right time, when the customer was already ready to buy.
That’s the difference between recording a conversion and understanding an acquisition journey.
To know which ad generated a sale, you need to connect the sale to the customer’s previous journey
When a sale happens, your checkout usually knows things such as the product, price, customer email, payment method, and purchase time.
But that information alone doesn’t tell you:
- how that person first discovered your brand;
- which campaign started the acquisition;
- which ads participated in the journey;
- which channels brought the person back;
- which content they consumed;
- how long it took from discovery to purchase;
- what the last touchpoint was before conversion.
To answer those questions, you need to connect the final event — the sale — to the interactions that happened before it.
That’s the basic principle behind marketing attribution.
The first step is identifying where each visit came from
When someone clicks an ad, information about its origin can travel with the URL.
A simplified example:
https://example.com/product?
utm_source=facebook
&utm_medium=paid
&utm_campaign=black_friday
&utm_content=video_01
These parameters can identify information such as:
- traffic source;
- campaign;
- ad or creative;
- marketing medium.
Advertising platforms may also append their own click identifiers.
This information is extremely useful, but there is an important distinction:
knowing where a visit came from does not automatically tell you where a sale came from.
An entire journey may exist between the two.
UTMs identify campaigns, but they don’t solve attribution on their own
A UTM describes information related to a particular visit.
By itself, it doesn’t know that a purchase made several weeks later belongs to the same person who originally arrived through that ad.
Consider:
Day 1
Meta Ads
utm_campaign=black_friday
↓
Landing page
Day 15
Organic Instagram
↓
Website
Day 32
Google
↓
Article
Day 48
Email
↓
Website
Day 60
Remarketing
↓
Checkout
↓
Sale
If we look only at the source present at the time of purchase, we might conclude that remarketing generated the sale.
But that ignores almost the entire acquisition process that happened before it.
That’s why attribution requires more than simply adding UTMs to your ads.
You need to preserve and connect the different touchpoints throughout the journey until conversion.
Your checkout needs to be part of the story too
Another common problem appears when the purchase happens outside your main domain.
The journey may look like this:
Ad
↓
yourwebsite.com
↓
Content
↓
yourwebsite.com/product
↓
checkout.example.com
↓
Purchase
If acquisition data gets lost when the customer moves from your website to the checkout, the platform receiving the sale may know perfectly well who bought and how much they paid, but not necessarily which journey brought that customer there.
This is common when businesses use:
- external checkout platforms;
- payment gateways;
- course or digital-product platforms;
- CRMs;
- forms;
- custom payment systems.
The challenge becomes connecting two sets of information:
JOURNEY
user
→ visit
→ source
→ campaign
→ ad
→ additional visits
→ other channels
+
CONVERSION
customer
→ order
→ product
→ value
→ payment
Once those two sides can be connected, you can identify which journeys resulted in sales.
What about the Meta Pixel?
The Pixel is important, but it solves a different problem.
It can send browser events to Meta, such as:
- page views;
- checkout starts;
- leads;
- purchases.
This helps Meta measure and optimize campaigns within its own ecosystem.
For a simple direct-sale operation, that may be all you need.
The problem appears when you want to understand a journey that extends beyond that ecosystem.
There is a difference between asking:
“Which ad did Meta attribute this conversion to?”
and asking:
“What was this customer’s journey before the sale?”
The answers may be different.
Meta has its own attribution rules and windows. Google has others. Analytics tools may use different models again.
In a multi-channel journey, more than one platform may even claim participation in the same sale.
That doesn’t necessarily mean one of them is wrong.
They may simply be observing and attributing the same journey in different ways.
So which ad should get the credit?
Even if you know the complete journey, you still need to decide how to interpret it.
Imagine:
Meta Ads
↓
Organic Instagram
↓
Google
↓
Email
↓
Remarketing
↓
Sale
There are several possible answers to the question “which channel generated this sale?”
First click
The sale is attributed to the first known touchpoint.
In this example:
Meta Ads → SALE
This helps answer:
What brought this customer into our journey?
Last click
The sale is attributed to the final touchpoint before conversion.
In this case:
Remarketing → SALE
This helps answer:
What was the final touchpoint before the purchase?
Middle touchpoints
But there is valuable information between the first and last clicks.
The customer may have gone through:
Meta Ads
↓
Instagram
↓
Google
↓
Email
↓
Remarketing
These middle touchpoints help explain how someone who wasn’t ready to buy progressed toward conversion.
Reducing a long journey to first click or last click alone can therefore hide a large part of the acquisition process.
The complete journey
Instead of forcing the entire sale to belong to a single click, you can examine the full sequence.
The question stops being only:
Which channel gets the sale?
and becomes:
What journey resulted in this sale?
That distinction matters when several channels work together and the buying decision takes time.
How can you know exactly which ads participated in a sale?
To reach the individual-ad level, you need to preserve enough identifiers throughout the journey.
A tracking system might record information such as:
Source: Meta Ads
Campaign: Discovery
Ad set: Wine interests
Ad: Video 03
Later, the same user may return through:
Source: Google
Campaign: organic
Page: How to choose a wine for...
And later still:
Source: Meta Ads
Campaign: Remarketing
Ad set: 60-day visitors
Ad: Offer Kit 03
until you finally receive:
Sale: #58329
Product: Special Kit
Value: $497
Status: Approved
This lets you move from an aggregate statement such as:
Meta Ads generated 37 sales
to something much more useful:
Sale #58329
$497
Journey:
Meta Ads
→ Discovery Campaign
→ Video 03
→ Google organic
→ Content
→ Meta Ads
→ 60-day remarketing
→ Offer Kit 03
→ Purchase
Now you can understand not only where the sale ended, but how the customer reached the point of buying.
What do you need to track?
There is no single implementation that fits every business, but a good attribution setup usually needs to connect three groups of information.
1. Acquisition
Information about how someone arrived:
- source;
- medium;
- campaign;
- content;
- click identifiers;
- landing page;
- date and time.
2. Journey
Information that connects visits over time:
- visits;
- sessions;
- first-party identifiers;
- touchpoints;
- changes in source;
- time between interactions.
3. Conversion
The final outcome:
- sale;
- lead;
- order;
- subscription;
- product;
- value;
- transaction status.
The key is connecting these groups.
A sale alone doesn’t reveal acquisition.
A click alone doesn’t reveal whether a sale happened.
Attribution happens when you can connect the two.
When does this kind of analysis start to matter?
The simpler and shorter the journey, the smaller the benefit of an independent attribution layer tends to be.
It becomes particularly useful when your business combines factors such as:
- buying cycles that last days or weeks;
- higher-consideration products;
- a need to build awareness before making the offer;
- paid media across multiple platforms;
- organic acquisition;
- content participating in the journey;
- email marketing;
- remarketing;
- multiple visits before purchase;
- checkout on a separate domain;
- sales that happen long after the first interaction.
A conversion that happens 30, 60, or 90 days after discovery creates a very different measurement problem from a purchase made five minutes after clicking an ad.
How Vestige Metrics connects the journey to the sale
Vestige Metrics was designed primarily for this second scenario.
Not to make a simple journey artificially complicated, but to help businesses where a sale is the result of a sequence of interactions.
Vestige records the acquisition journey and connects conversion events to the visits that came before them.
When a sale is received through an integration, it can be associated with the corresponding journey, allowing you to understand not only that a sale happened, but where that customer came from and which touchpoints participated in the acquisition.
This helps answer questions such as:
- which campaign introduced the customer to the brand;
- which ads participated in the journey;
- what the first known source was;
- which channels brought the user back;
- how long it took from discovery to conversion;
- what the final touchpoint before purchase was;
- which sequence of interactions ended in the sale.
Instead of relying exclusively on the attribution reported independently by Meta Ads, Google Ads, or another platform, the analysis starts from the recorded journey and the conversion that actually happened.
Why is this different from simply looking at ROAS in Meta Ads?
If Meta Ads reports:
Campaign A
Spend: $10,000
Attributed sales: $40,000
ROAS: 4
that calculation depends on the sales Meta itself attributed to the campaign according to its rules.
Again, for a business that operates almost entirely inside that channel and converts immediately, this may be enough.
Now imagine an operation where Meta introduces the brand, Google captures a later search, organic content builds trust, and a remarketing campaign closes the sale weeks later.
In that case, you may want to ask:
Of the sales that actually happened in my business, which customer journeys included this campaign?
Now imagine that Meta Ads and Google Ads both claim participation in the same sale.
Blindly adding the conversions reported by both platforms can make it look like two sales happened when there was actually only one.
An attribution platform lets you start from the other side:
ACTUAL SALE
↓
JOURNEY
↓
TOUCHPOINTS
↓
CHANNELS
↓
CAMPAIGNS
↓
ADS
instead of looking exclusively at:
AD PLATFORM
↓
conversions it attributed
This shift in perspective becomes more valuable as the buying journey gets longer and your marketing operation becomes more diversified.
Common mistakes when trying to identify which ad generated a sale
Looking for one answer to a complex journey
In a direct sale, there may be one ad that clearly drove the purchase.
In a 60-day journey with five touchpoints, asking only “which ad sold?” may oversimplify the problem.
Looking only at the last UTM
The last known source doesn’t necessarily represent what started or developed the acquisition.
Treating each platform as the absolute source of truth
Meta, Google, and analytics tools can use different rules to attribute the same conversion.
Losing parameters at checkout
If tracking breaks when the user moves to another domain, important acquisition information may disappear.
Tracking the click but not integrating the sale
Knowing that someone clicked an ad doesn’t tell you whether that person bought.
Tracking the sale but not the journey
The opposite problem happens too: you know the order, product, and revenue, but have no reliable acquisition context.
Confusing tracking with attribution
Tracking is the collection of information.
Attribution is the interpretation of the relationship between that information and the conversion.
You need both.
So, how do you know which ad generated a sale?
If your journey looks like this:
Ad → Purchase
the answer is probably straightforward — and you may not need much more than the tools you already use.
But if your journey looks more like this:
Discovery
↓
Content
↓
Search
↓
Return visit
↓
Email
↓
Remarketing
↓
Offer
↓
Purchase
the question changes.
Instead of trying to identify only the last ad before the sale, it becomes important to understand which interactions built that acquisition.
To do that, you need to identify where users come from, preserve that information over time, and eventually connect the conversion back to the journey.
First click can show you who started it.
Last click can show you who finished it.
The touchpoints in between show you what happened along the way.
And the complete journey lets you see something none of those pieces can reveal on their own:
how someone went from their first interaction with your brand to the decision to buy.