Skip to content
AnswerWell geo Documentation

Answerwell tools · 3 min read · Answerwell

Product & End-to-End Analytics

Product and end-to-end analytics: events, the warehouse, funnel metrics, cohorts, and forecasting churn and customer value.

Product analytics links behaviour on the site to business states: a lead, a payment, product usage and a refund. An end-to-end setup combines client events, server data, the CRM, advertising and payments. Its quality is determined above all by consistent identifiers and definitions.

A tracking plan sets the event name, when it fires, its owner, required fields, units and schema version. A click on “Pay” is an attempt; a confirmed transaction is a result. They must remain different events. The GA4 documentation defines purchase, refund and the transaction parameters separately [1].

Field Purpose
event_id Deduplicating repeated deliveries
occurred_at / received_at Time of the action and time of receipt
anonymous_id / user_id Distinguishing an anonymous subject from a known one
transaction_id Linking the order, the payment and the refund
schema_version Interpreting historical fields

Combining client and server data needs an explicit key for a single action. Simply adding the two streams doubles the purchases. Cross-device identification has limits of coverage; unknown users are not merged on a guess.

For funnel stages:

CRa→b=N(subjects who reached b after a within window W)N(subjects who reached a).CR_{a\to b}=\frac{N(\text{subjects who reached }b\text{ after }a\text{ within window }W)}{N(\text{subjects who reached }a)}.

The denominator, the order of events and the window WW are fixed. “Ever returned” and “returned on day seven” are different metrics. Unique people, accounts, sessions and orders are not interchangeable.

Revenue is reconciled with the payment source for currency, refunds, taxes and time of recognition. The analytics interface may show a different total because of delays, filters and missing consent. The report should explain the discrepancy, not hide it behind a correction factor.

Retentionc(t)=N(active at t in cohort c)N(cohort c observable up to t).Retention_c(t)=\frac{N(\text{active at }t\text{ in cohort }c)}{N(\text{cohort }c\text{ observable up to }t)}.

For an ordinary fixed cohort, only cohorts that have reached the required age are compared. Recent customers cannot be counted as churned before the window ends. When follow-up times differ, survival analysis applies. The Kaplan–Meier estimator [2]:

S^(t)=∏tj≤t(1−djnj),\widehat S(t)=\prod_{t_j\leq t}\left(1-\frac{d_j}{n_j}\right),

where djd_j is the number of churn events and njn_j the number still at risk just before tjt_j. Interpretation requires a sound definition of churn and of the censoring assumptions.

Conversion and churn are predicted from the data available at the time of the decision. Features that appear after the purchase create leakage. Models are validated on a future period, with calibration and errors by segment assessed.

BG/NBD models repeat purchases and hidden dropout in non-contractual relationships [3]. Its assumptions do not automatically fit a subscription with a known cancellation date. An LTV forecast must take margin and the cost of service into account, not only expected revenue.

Test scenarios include a repeated webhook, a partial refund, a change of device, a late event and a schema change. Monitor the share of lost and duplicated events, the delay and the consistency of aggregates. Before a new metric is interpreted, check whether its change is related to a tracking release.

Reproducibility and how Answerwell applies it

Section titled “Reproducibility and how Answerwell applies it”

In the project’s research loop, Answerwell’s own robots and ML/DL models are applied to brand data. The grounds for each architecture, corpus versions, training parameters and compute are recorded according to the general methodology. Public, acquired and internal data each keep their own provenance; describing a method does not mean a proven match with the closed weights of an external platform.

The test set is separated from training by time and by object. Raw observations, failed attempts and unknown values are kept. Models are compared on the same data and budget, with the sample size and errors by segment reported. Illustrative calculations in this article are not a claim about an experiment Answerwell has carried out.

  1. Google Analytics. Measure ecommerce.
  2. Kaplan E., Meier P. (1958). Nonparametric Estimation from Incomplete Observations.
  3. Fader P., Hardie B., Lee K. (2005). Counting Your Customers the Easy Way.