Written by: Mukil Ganesan

I've spent a good amount of time in marketing software products, with chances to work across the spectrum, content, product, demand, ops, and brand. The learnings have been immense, and I'm still very much a continuous learner with plenty of ground left to cover, both in theory and in practice.

At this stage in my career, I have a fairly overarching view of how marketing works as a system and where it sits inside a constantly evolving business. Of late, with AI seeping into every business process and workflow, the need to sharpen the foundations and keep learning has only gone up.

Over the last 12 to 18 months, I've been trying to work out whether there's a dependable system, or a theory even, for understanding how the different facets of marketing operate and impact the business. The trigger was this. Some areas of marketing can be clearly tracked, measured, and improved. Others are much harder to measure and rely mostly on signals that show up in customer conversations, 1:1 meetings with prospects, analyst reports, and the like. Broadly, you can split these into Demand Generation on one side and Brand and Product Marketing on the other.

I've spoken to a good number of founders over the years, and 80% of the time the immediate priority is to generate leads. That makes sense. When you're running a business, revenue is the north star, and you do whatever you can to generate leads, move them through the funnel, and close deals. The moment brand building comes up, it takes a backseat. "Let's focus on leads" is the answer you hear most often.

Over the last 18 to 24 months, that narrative has started to flip. Companies are paying real attention to brand, because it's become the moat in an era where the playing field is otherwise level. Machines have started profiling businesses. An entire market category has sprung up in the last two years around AEO and GEO. Almost all content looks AI-generated today, even when it holds its depth and sophistication on the topic. A company's brand has become one of the key differentiators in how it's perceived by the market, by humans and machines alike. Suddenly, it's become a lot easier to have the conversation about investing in brand.

That was my trigger, and I've been chewing on it for a while. Is there a formula, an equation, through which we can define what marketing actually is, one that fits every sub-function and gives a clear map of what affects what and how it all evolves? That's when I landed on Bayesian thinking in marketing. This isn't a new concept. Research has been happening around it for decades, with plenty of proven case studies. What I'm doing in this write-up is breaking it into smaller fragments and contextualizing it for the current era of marketing.

A quick refresher on Bayes' Theorem

What's Bayes Theorem? When I read about it recently, it rang a faint bell and it sounded like I've learnt about it sometime in my school days. If you're also someone like me, here's a refresher.

Bayes' Theorem is a mathematical formula used to determine the conditional probability of an event based on prior knowledge and new evidence. It adjusts probabilities when new information comes in and helps make better decisions in uncertain situations. I've added the formula below,

For any two events A and B, Bayes's formula for the Bayes theorem is given by:

Article content

Where,

  • P(A) and P(B) are the probabilities of events A and B; also, P(B) is never equal to zero.
  • P(A|B) is the probability of event A when event B happens,
  • P(B|A) is the probability of event B when A happens.

What you saw above is the textbook definition of Bayes theorem. Now, let's bring in the marketing context to this.

The four terms, in a marketing context

Let's take the scenario of website visitors.

P(A) is called the prior. It's simply your belief in A before you know anything else about the visitor, your baseline conversion rate. If 40 out of every 1,000 visitors convert, your prior is 4%. It's the number you'd guess for someone who just landed, before you know a single thing about what they did.

P(A|B) is called the posterior. This is your updated belief in A after seeing B, the probability that a visitor converts given that they viewed the pricing page. This is what you actually want to know: your conversion rate among pricing-page visitors specifically. It's the number we're solving for.

P(B|A) is called the likelihood. If A is true, how likely are you to have seen B? Read this one slowly, because the direction is the opposite of what you'd expect. It asks: of the visitors who convert, how many had viewed the pricing page? Not "of pricing-page visitors, how many convert," that's the posterior. The likelihood runs backwards, from converters to pricing page, and mixing up these two directions is its own classic error.

P(B) is called the evidence. This is the total probability of B happening at all, the share of every visitor who viewed the pricing page, converters and non-converters alike. It's the piece people quietly drop when doing this in their head, and dropping it is exactly where the trouble starts.

Running it with real numbers

Let's run the above example with real numbers.

I know that it's looking like you're sitting in a maths class. Trust me, I'll make it a bit more interesting from here on!

Imagine a monthly traffic of 1,000 visitors to your website. Out of that,

  1. 40 people book a demo
  2. Out of those 40 demo bookings, 30 had visited your pricing page
  3. Out of the 960 (1000 - 40) who did not convert, 90 have visited your pricing page

As a marketer you actually care about this question - "How likely are my pricing-page visitors to book a demo?" Now, let's align this into the Bayes theorem.

P(A|B): This is your problem statement: the probability that someone converts (A) after visiting the pricing page (B).

P(A): How many of them actually convert? 40 out of 1,000 which is 4%

P(B|A): Out of all the conversions we've got, how many of them visited the pricing page? 30. Which takes P(B|A) to 30 out of 40 = 75%

P(B): Total number of people who visited the pricing page = 90+30 = 120 out of 1,000 which is 12%

Let's drop these numbers into the formula.

Article content

So, P(A|B) is 25%. This means that a visitor who visits your pricing page converts 25% of the time.

A pricing page visit took the probability from 4% (prior) to 25%. This is a significant lift! In the marketing world, when we talk about intent and signals, this is what they look like mathematically.

A quick note here: While you're calculating conversions and probabilities, have you ever considered those 120 people who visited the pricing page?? If the answer is yes, kudos to you! If the answer is no, then you've just fallen for one of the most common reasoning errors - the Base Rate Fallacy (I've not covered about this here. It's a very good additional read to this post).

Mapping every sub-function of marketing

By now, you would have understood how the Bayes theorem works. The example that I took was relatively an easier one falling on the demand gen side of things.

Now, let's go deeper into understanding how all sub-functions of marketing can be tied up using this single algorithm.

Here I am mapping out the broader sub-functions of marketing.

  1. Product Marketing
  2. Brand Marketing
  3. Demand Generation
  4. Revenue Generation (North star and a shared metric for the GTM org)

In the above list,

The product marketing and brand initiatives are your prior. These are the hypotheses you operate on top of. Right from the positioning, to the brand voice, to the messaging, to the content you put out, it's all a set of bets about how the market will receive you before any single campaign touches them. Brand works at the population level. It doesn't move one lead at a time, it moves the starting point for everyone. That is your P(A).

The demand generation initiatives and campaigns are your likelihood. This is the engine that actually moves belief. Every campaign is a test that asks a simple question: if our positioning is right, how likely is this response? When a campaign lands, the clicks, the MQLs, the replies, that is a strong signal pulling your belief upward. Demand gen is where the population-level prior meets a real interaction and starts updating. It isn't the data sitting in a dashboard, it's the strength of the signal each interaction carries. That is your P(B|A).

The total market response is your evidence. This is how much engagement you would have seen across the market anyway, whether or not your positioning hypothesis was right. Category demand, seasonality, a competitor's campaign warming everyone up. It's the denominator, and it's the honesty check. When leads spike, this is the term that forces the harder question: did our positioning land, or is the whole category just hot right now? Miss it, and you will happily credit your own brilliance for a wave that would have come in regardless. That is your P(B), and it's the same base rate trap from the pricing page example, now operating at the level of your entire strategy.

The qualified pipeline and revenue generation are your posterior. This is belief updated by hard numbers moving through the funnel. Once real pipeline forms, you are no longer guessing about your positioning. The market has answered. Your north star metric is literally the posterior, the number you wanted all along. That is your P(A|B).

Putting it together: to optimize for qualified pipeline and revenue, you keep strengthening your brand and positioning hypotheses based on the signal demand gen sends back, while staying honest about how much of the response was just the market moving on its own.

Here's how that looks in the formula:

Article content

In plain English:

Pipeline & revenue (posterior) = demand gen signal strength (likelihood) × brand/positioning belief (prior), divided by the market's baseline response (evidence).

This mathematically validates what every marketer already believes today. Demand gen can only multiply the prior it's handed. Run brilliant campaigns on top of weak positioning (a small P(A)), and the posterior stays small no matter how big the likelihood gets. Strong brand raises the number demand gen multiplies.

Bayesian thinking ultimately replaces the guesswork with a mathematically rigorous way to integrate multiple facets of marketing to drive real-world outcomes (which is pipeline and revenue). It also reinforces why brand plays a significant role in reaching the desired outcomes. The next time you plan for a billboard campaign, this is the equation that you need to pull up to convince your team. I'm sure you'll hear the question - 'But how will this campaign generate revenue??'.

Using it in your day to day

Up until now, we have seen the math behind this. The next obvious question is how can you use this in your day-to-day life? The reality is most marketers are already doing a rough version of it in their heads. They just don't call it that.

The three-step cycle

Strip out the maths and you're left with a three-step cycle that works for almost any metric. Start with a baseline: before a campaign runs, say what you expect, say "this email converts somewhere between 5 and 15 percent." That range is your prior. Then watch the evidence land. If day one shows 2 percent, that's information, not a verdict. A frequentist reflex treats the 2 percent as truth and panics. The Bayesian move weighs it against what you already knew, so your real estimate settles somewhere between the 2 percent you just saw and the 15 percent you walked in with. That blended number is more honest and far more stable than either. New belief is old belief adjusted by fresh evidence, not fresh evidence pretending history never happened.

Where it earns its keep

Budget reallocation is the clearest case. The weak question is "which channel is better." The useful one is "what's the probability Channel A beats Channel B." When the model says there's a 73 percent chance digital beats TV, you don't empty the budget into digital. You shift gradually and keep the 27 percent chance TV still wins in view. That's how you avoid over-optimizing on a spike that was mostly noise. The same instinct speeds up testing: Bayesian A/B tests let you monitor as you go instead of waiting for a fixed sample size, so a variant showing a high probability of winning after a few days can be called early.

Three shortcuts for the team

Most of your team will never touch the formula, and they don't need to. They need three instincts. Use natural frequencies: "10 out of 1,000 recipients convert" lands where "1 percent" never will. Treat priors as guardrails: your positioning and benchmarks are the rails that stop a model overreacting to one weird week. And remember the maths has a memory: each cycle hands its posterior to the next as a prior, which is why teams that write down what they learned keep getting sharper while everyone else relearns the same lessons.

The prior just got a second audience

Everything so far has assumed the thing updating its beliefs is a human. A visitor, a prospect, a buyer moving through your funnel. But go back to the trigger I opened with. Machines are now profiling businesses too, and they form beliefs the same way.

When a buyer asks an LLM "what are the best tools for finance operations," the model isn't searching a list and ranking it. You can think of it as sampling from a belief it already formed over everything it read during training. Your brand's presence across that corpus, how often you show up, in what context, framed which way, is the prior it draws from. The buyer's specific prompt is the evidence that updates it. What comes back, the shortlist of names, is the posterior. It's the same prior-times-evidence move from the pricing page example, just running inside a model instead of a marketer's head.

Which means GEO (for example), once you strip the jargon off it, is prior engineering. You're not gaming a ranking. You're raising P(your brand) in the distribution the machine samples from before any single query touches it. That is exactly what brand always did to humans, shifting the starting point for everyone rather than converting one lead at a time. The only change is that the population you're shifting now includes the machines that your buyers increasingly ask first.

And that's why brand stopped being the thing that takes a backseat to leads. Brand was always the prior. AI just raised the stakes on it, because a weak prior no longer only means a human hasn't heard of you. It means the machine doesn't retrieve you at all, and a buyer builds their entire shortlist without your name ever appearing. Demand gen can't update a prior the machine never had. You can run the most brilliant campaign of your career, but if you're absent from the distribution the model samples from, there's nothing for the evidence to multiply. The founder who keeps saying "let's just focus on leads" is, in Bayesian terms, pouring budget into the likelihood while starving the prior. And now there are two audiences keeping score.

Related: You Don’t Have to Beat the S&P 500 to Win the Retirement Game