Connecting FreshBooks to Amplitude
FreshBooks is invoicing for people who bill for their time, which puts an unavoidable gap between winning the work and being paid for it. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the FreshBooks invoice before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
FreshBooks in Amplitude: payments on the client, not the session
Set an Amplitude user ID when a prospect becomes a client, store it on the FreshBooks client, and send payments server-side as payment_received with price as amount received, quantity 1, the FreshBooks payment ID as insert_id and the payment date as event time. Add days_to_payment and invoice_number, send write-offs as negative revenue, and consider account-level grouping.
Amplitude is built around a person and their events over time, which suits FreshBooks better than it first seems: a client pays many invoices, and retention in a services business is whether that client keeps paying. The catch is that the person who browsed your site is often not the person who pays. The invoice goes to an accounts-payable address, and the payment record carries the client organization, not the visitor.
Set the user ID at the point a prospect becomes a client, on your proposal acceptance or intake form, and store that same ID on the FreshBooks client, for example in a field your team fills when creating it. Send payments server-side against that user_id as a payment_received event with price set to the amount received and quantity 1, so Amplitude's revenue charts are populated. Use the FreshBooks payment ID as insert_id, since webhook deliveries can repeat.
Set the event time to the payment date, not the invoice date, and add days_to_payment and invoice_number as properties. A cohort chart can then show how long clients from each acquisition channel take to pay, and a written-off invoice can be sent as its own negative-revenue event instead of silently staying booked. If your clients are companies with several contacts, Amplitude's account-level grouping, where your plan includes it, models them better than individual users.
FreshBooks → Amplitude · what breaks
Why this join usually fails — FreshBooks → Amplitude
- 01
The user ID and device ID pair never reaches FreshBooks
The client relationship starts on your website and the invoice is created weeks later by you, in an app, with no session anywhere near it.
- 02
Invoices sent counted as revenue earned
For a service business with payment terms this systematically reports revenue a month or more early, and it never corrects for the invoices that are simply never paid.
- 03
Revenue events that carry no revenue
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
- 04
Nothing reconciles afterwards
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
FreshBooks → Amplitude · the fix
What working looks like — FreshBooks → Amplitude
The user ID and device ID pair on every invoice
Conversions arriving in Amplitude
The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.
Reconciled against the source
FreshBooks → Amplitude · architecture
How FreshBooks and Amplitude actually connect
- 1
FreshBooks holds the truth
An invoice sent is a claim; an invoice paid is revenue. On thirty-day terms those are different months, and reporting the first as a conversion books income you have not received and may not.
- 2
Amplitude needs a click to match
Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.
- 3
The identifier is the bridge
The user ID and device ID pair, captured at the visit and carried into the FreshBooks invoice.
- 4
The event source decides reliability
Send invoices at the point of payment, at the amount received after any processing fee.
- 5
Deduplication at the destination
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
FreshBooks → Amplitude · normal or broken
Working vs. broken, side by side — FreshBooks → Amplitude
Normal, not a fault
The user ID and device ID pair present on the invoice
Sent from the FreshBooks payment record
Deduplicated correctly
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Reconciles with the source
Actually broken
The user ID and device ID pair missing on most records
The client relationship starts on your website and the invoice is created weeks later by you, in an app, with no session anywhere near it.
Sent from the browser
For a service business with payment terms this systematically reports revenue a month or more early, and it never corrects for the invoices that are simply never paid.
Counted twice, or not at all
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
Nobody has reconciled it
FreshBooks → Amplitude · diagnose
Diagnostic order — FreshBooks → Amplitude
- 01
Count invoices carrying the user ID and device ID pair
- 02
Follow one real conversion end to end
- 03
Measure your average days-to-payment and your write-off rate
Two numbers. Together they tell you how far your reported revenue sits from your bank balance.
- 04
Check a purchase event for the price and quantity fields specifically
Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.
- 05
Read the match rate, not the success message
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
FreshBooks → Amplitude · prove
How it gets proven — FreshBooks → Amplitude
Source of truth
FreshBooks invoices by payment date, not by issue date.
- The user ID and device ID pair confirmed present on a live invoice.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- Payments received reconciled against imported conversions over a window longer than your payment terms.
FreshBooks → Amplitude · free audit
What we check in the free audit
- Count invoices carrying the user ID and device ID pair
- Follow one real conversion end to end
- Measure your average days-to-payment and your write-off rate
- Check a purchase event for the price and quantity fields specifically
- Read the match rate, not the success message
Checked against
FreshBooks invoices by payment date, not by issue date.
Free30 minutesNo obligation
FreshBooks → Amplitude · when not to buy
When you don't need this — FreshBooks → Amplitude
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the user ID and device ID pair.
- If you take payment upfront, issue and payment coincide and this whole distinction disappears.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
FreshBooks → Amplitude · what we deliver
What gets built — FreshBooks → Amplitude
Identifier capture into FreshBooks
Store the identifier on the client record at first enquiry and carry it onto every invoice raised against that client.
Event source: the FreshBooks payment record
Send invoices at the point of payment, at the amount received after any processing fee.
Dispatch to Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
Reversals where they exist
Credit notes and refunds reverse. Written-off invoices should reverse too, and usually never do.
Written guarantee
95%+ tracking accuracy
Measured against FreshBooks invoices by payment date, not by issue date.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
FreshBooks → Amplitude questions, answered
From FreshBooks' payment webhook or API, sent server-side to Amplitude with a user_id stored on the FreshBooks client and price and quantity filled in. Confirm the webhook event names in FreshBooks' developer documentation.
Usually the payment event is missing Amplitude's price and quantity fields. The event count looks fine while revenue stays empty.
Almost always because the user ID and device ID pair never reached the FreshBooks invoice. The client relationship starts on your website and the invoice is created weeks later by you, in an app, with no session anywhere near it. Measure coverage before debugging the dispatch.
Amplitude tracks both a device ID and a user ID and merges them when a user identifies. The merge rules decide who counts as one person, so a mistake here does not produce a small error — it changes every retention curve and cohort size in the account.
The FreshBooks payment record. Send invoices at the point of payment, at the amount received after any processing fee.
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
More on FreshBooks → Amplitude
- Stripe → AmplitudeConnecting Stripe to Amplitude
- PayPal → AmplitudeConnecting PayPal to Amplitude
- Shopify → AmplitudeConnecting Shopify to Amplitude
RELATED GUIDES
Where FreshBooks → Amplitude fits in the rest of your tracking
- Xero → AmplitudeConnecting Xero to Amplitude
- Wave → AmplitudeConnecting Wave to Amplitude
- BILL → AmplitudeConnecting BILL to Amplitude
- FreshBooks → Adobe AnalyticsConnecting FreshBooks to Adobe Analytics
- FreshBooks → GA4Connecting FreshBooks to GA4
- Accounting and CPAConversion tracking for accounting firms, measured in engagements
- Harvest → AmplitudeConnecting Harvest to Amplitude
- QuickBooks → AmplitudeConnecting QuickBooks to Amplitude
Free · 30 min
Get FreshBooks and Amplitude joined properly
Free30 minutesNo obligation
