What does Click-to-Chat Closing and Attribution conclude, in numbers, about “Chat Attribution: Last Click, the Shapley Value and Severed Sources”?
Answer: Chapters 3 and 4 show that last click can credit the final touch with 2.36 times its Shapley share, that severed sources over-credit ads to 1.20 times and prefilled reference codes cut this to 1.06, and that detecting a one-tenth increment in a cold audience needs 822,401 people per group, while a conversation-level test still needs 8,158 conversations per group.
Scope of the numbers: Its conversion rates, latencies, reply rates, sample sizes and amounts are illustrative, and all calculations are generated by its programs. It is general business guidance, not legal or marketing-compliance advice, and promises no income.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 1.06, 1.20
| source | true share | last-click log | with prefilled code |
|---|---|---|---|
| ad | 0.455 | 0.547 | 0.475 |
| creator | 0.347 | 0.182 | 0.301 |
| poster | 0.198 | 0.138 | 0.185 |
| unknown | 0.000 | 0.134 | 0.040 |
| ad over-credit: 1.20 times without code, 1.06 with code | |||
| chats simulated: 20,000 |
Show the full program
# Chapter 3. p32: how device switches, forwarding and screenshots cut the
# source of a chat, and how much a prefilled reference code recovers.
# True origins of 20,000 chats: click-to-chat ad 0.45, creator post 0.35,
# printed QR poster 0.20. Chance the source tag is lost: ad 0.03; creator
# 0.15 device switch + 0.10 forwarding; poster 0.20 screenshot + 0.10
# forwarding. 0.30 of creator-origin chats also clicked an ad later, so a
# last-click log credits the ad. A prefilled code survives with 0.70.
# Lost sources fall into "unknown". Fixed seed; all rates illustrative.
import collections
import random
N = 20000
ORIGIN = (("ad", 0.45), ("creator", 0.35), ("poster", 0.20))
LOSS = {"ad": 0.03, "creator": 0.25, "poster": 0.30}
LATER_AD = 0.30
KEEP_CODE = 0.70
def draw(rng):
names = [name for name, _ in ORIGIN]
return rng.choices(names, weights=[p for _, p in ORIGIN])[0]
def simulate(code):
rng = random.Random(20261120)
true, seen = collections.Counter(), collections.Counter()
for _ in range(N):
o = draw(rng)
true[o] += 1
lost = rng.random() < LOSS[o]
later = o == "creator" and rng.random() < LATER_AD
kept = code and rng.random() < KEEP_CODE
if kept:
seen[o] += 1
elif later:
seen["ad"] += 1
elif lost:
seen["unknown"] += 1
else:
seen[o] += 1
return true, seen
t0, s0 = simulate(False)
t1, s1 = simulate(True)
print("source true share last-click log with prefilled code")
for k in ("ad", "creator", "poster", "unknown"):
print("%-9s %10.3f %15.3f %20.3f" % (k, t0[k] / N, s0[k] / N,
s1[k] / N))
print("ad over-credit: %.2f times without code, %.2f with code" % (
s0["ad"] / t0["ad"], s1["ad"] / t1["ad"]))
print("chats simulated: %s" % format(N, ","))Single source and citation
Fan, Y. (2026). Click-to-Messenger Conversion Funnels, Chat Attribution and Voice-Note Closing in Southeast Asian Commerce (Version 1.0.0), Chapter 3: Chat Attribution: Last Click, the Shapley Value and Severed Sources. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-366 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026366,
author = {Fan, Yafu},
title = {Click-to-Messenger Conversion Funnels, Chat Attribution and Voice-Note Closing in Southeast Asian Commerce},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Funnel Products and Halving Friction Loss: the Break-Even of Direct-to-Chat Ads
- Chapter 2 · The Decay Curve of First-Response Latency: Triage Before Staff
- Chapter 4 · Increments and Sample Sizes: Why Most Increments Cannot Be Measured
- Chapter 5 · Three Labels and the Optimal Stop Point: the Mathematics of Consent-Based Follow-Up
- Chapter 6 · The Length Boundary of Real-Person Voice Notes and One-Tap Payment in the Chat
- Chapter 7 · Classical Sources East and West: Silence in the Guiguzi, Watching Deeds in the Analects, and the Voice in Classical Rhetoric
- Chapter 8 · Actuarial Tools and Execution Checklist: the Weekly Chat Ledger, the Cadence Checker and Pre-Registered Tests