Connecting MyCase to Segment
MyCase runs small law firms, where a signed matter can take months to produce fee income and the case type decides everything about its value. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the MyCase matter before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
MyCase through Segment: one clean Matter Opened for every tool
Segment defines the matter once: identify at the inquiry form with an internal userId written onto the MyCase contact, then a server-side Matter Opened track with the matter ID as messageId, open date and stored click IDs. Phone inquiries reach only the warehouse. Never add practice area or varying value, and route fees only to the warehouse.
A firm sending MyCase outcomes to two or more ad platforms plus a warehouse can use Segment to define the matter once. The track call is simple: Matter Opened, with the MyCase matter ID as messageId, the open date, and the click IDs stored at inquiry as properties. The hard part is what it must not carry, since Segment repeats any mistake to every destination at once.
Identity begins at the inquiry form. Send identify with an internal ID as userId and keep the anonymousId so Segment can stitch the visit to the person; write the internal ID onto the MyCase contact. When staff open the matter days later after a phone consultation, the server-side call uses that same userId. Inquiries that came in by phone have no anonymousId; they can go to the warehouse but will reach no click-based ad destination.
No practice area as a property or in an event name, and no value that varies by practice area. If someone later adds a 'Matter Opened - Family' event for reporting, every connected ad platform receives it. Check whether your Segment plan includes schema controls that block unplanned events and properties; if not, review the event list monthly. Fees billed over the matter's life belong in a separate event routed only to the warehouse.
MyCase → Segment · what breaks
Why this join usually fails — MyCase → Segment
- 01
The userId and anonymousId never reaches MyCase
The consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain.
- 02
Case type sent as a conversion label
Attaching a practice area to a conversion tells an ad platform that a specific person has a criminal, family or bankruptcy matter. That is a disclosure, and no optimisation benefit is worth it.
- 03
One bad event multiplied across every destination
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
- 04
Nothing reconciles afterwards
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
MyCase → Segment · the fix
What working looks like — MyCase → Segment
The userId and anonymousId on every matter
Conversions arriving in Segment
Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.
Reconciled against the source
MyCase → Segment · architecture
How MyCase and Segment actually connect
- 1
MyCase holds the truth
A signed retainer is a commitment; the fees arrive over the life of the matter. Which one you report changes the timing and the size of every figure.
- 2
Segment needs a click to match
Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.
- 3
The identifier is the bridge
The userId and anonymousId, captured at the visit and carried into the MyCase matter.
- 4
The event source decides reliability
Send matters opened as a count, with a value if you use an average by practice area. Never send the practice area itself.
- 5
Deduplication at the destination
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
MyCase → Segment · normal or broken
Working vs. broken, side by side — MyCase → Segment
Normal, not a fault
The userId and anonymousId present on the matter
Sent from the MyCase matter record
Deduplicated correctly
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Reconciles with the source
Actually broken
The userId and anonymousId missing on most records
The consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain.
Sent from the browser
Attaching a practice area to a conversion tells an ad platform that a specific person has a criminal, family or bankruptcy matter. That is a disclosure, and no optimisation benefit is worth it.
Counted twice, or not at all
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
Nobody has reconciled it
MyCase → Segment · diagnose
Diagnostic order — MyCase → Segment
- 01
Count matters carrying the userId and anonymousId
- 02
Follow one real conversion end to end
- 03
Read the actual conversion payload field by field
Not the documentation — the payload. Do this before anything else.
- 04
Check identity resolution before checking anything downstream
If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.
- 05
Read the match rate, not the success message
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
MyCase → Segment · prove
How it gets proven — MyCase → Segment
Source of truth
MyCase matters opened, with fee income tracked separately as it is billed.
- The userId and anonymousId confirmed present on a live matter.
- An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
- Matters opened reconciled against imported conversions, with the payload shown to carry no case detail.
MyCase → Segment · free audit
What we check in the free audit
- Count matters carrying the userId and anonymousId
- Follow one real conversion end to end
- Read the actual conversion payload field by field
- Check identity resolution before checking anything downstream
- Read the match rate, not the success message
Checked against
MyCase matters opened, with fee income tracked separately as it is billed.
Free30 minutesNo obligation
MyCase → Segment · when not to buy
When you don't need this — MyCase → Segment
- Measure identifier coverage yourself first — pull your last hundred matters and count how many carry the userId and anonymousId.
- If you cannot guarantee a clean payload, send a bare count or nothing at all. That is a worse campaign and the correct decision.
- If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.
MyCase → Segment · what we deliver
What gets built — MyCase → Segment
Identifier capture into MyCase
Capture at the enquiry and store on the contact so the matter opened later resolves to the original source. Send no case detail — the practice area is sensitive information about a person.
Event source: the MyCase matter record
Send matters opened as a count, with a value if you use an average by practice area. Never send the practice area itself.
Dispatch to Segment
Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.
Reversals where they exist
Matters closed without fees reverse.
Written guarantee
95%+ tracking accuracy
Measured against MyCase matters opened, with fee income tracked separately as it is billed.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
MyCase → Segment questions, answered
Send a server-side Matter Opened track call under the userId set at the inquiry form, with the matter ID as messageId and stored click IDs as properties. Leave practice area out.
Check your plan for schema controls or destination filters. Regardless, keep practice area out of the event so there is nothing to block.
Almost always because the userId and anonymousId never reached the MyCase matter. The consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain. Measure coverage before debugging the dispatch.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
The MyCase matter record. Send matters opened as a count, with a value if you use an average by practice area. Never send the practice area itself.
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
More on MyCase → Segment
- Stripe → SegmentConnecting Stripe to Segment
- PayPal → SegmentConnecting PayPal to Segment
- Shopify → SegmentConnecting Shopify to Segment
Using MyCase for bookings? How MyCase bookings get tracked end to end
RELATED GUIDES
Where MyCase → Segment fits in the rest of your tracking
- Filevine → SegmentConnecting Filevine to Segment
- PracticePanther → SegmentConnecting PracticePanther to Segment
- Karbon → SegmentConnecting Karbon to Segment
- MyCase → BigQueryConnecting MyCase to BigQuery
- Estate planningConversion tracking for estate planning, measured in engaged matters
- Karbon → BigQueryConnecting Karbon to BigQuery
- Filevine → SnowflakeConnecting Filevine to Snowflake
- PracticePanther → SnowflakeConnecting PracticePanther to Snowflake
Free · 30 min
Get MyCase and Segment joined properly
Free30 minutesNo obligation
