Skip to main content
Applied Epic → MatomoIntegration guide

Connecting Applied Epic to Matomo

Applied Epic runs insurance agencies, where the agency earns a commission on premium and the policy renews annually — so a new client is worth a stream, not a sale. Matomo can be self-hosted with no third party in the chain, which makes it the one analytics destination where the data genuinely never leaves infrastructure you control. The join between them succeeds or fails on one thing: whether the first-party visitor ID reaches the Applied Epic policy before the conversion happens, because Matomo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Matomo for an agency site: tie the bind to the quote visit

Read Matomo's visitor ID at quote submission and write it, with a quote reference, to the Applied Epic client record. When the policy binds, send an ecommerce order through the HTTP Tracking API with that visitor ID, the quote reference as order ID and first-year commission as revenue, backdated with an API token. Mask quote-form fields from recordings.

Matomo suits insurance agencies that do not want quote-form visitors sent to a third-party analytics vendor, since a self-hosted instance keeps visit data on your own server. The join to Applied Epic is the visitor ID: read Matomo's visitor ID when the quote form submits, store it with a quote reference, and write both to the Epic client record when a CSR creates it.

When the policy binds, send an ecommerce order through the HTTP Tracking API with that visitor ID, your quote reference as the order ID and first-year agency commission as revenue. A bind usually arrives days after the visit, and Matomo can record a request with an earlier timestamp only when it is authenticated with an API token, so set that up or the bind lands on the wrong day and session. Use one generic product name such as personal auto or commercial package, never policy details.

Mask the quote form before anything else. Matomo's heatmap and session recording features, if installed, can capture what people type, and insurance quote forms collect dates of birth, license numbers and sometimes Social Security numbers. Confirm those fields are excluded from recording and that none of them appear in URLs, where Matomo logs them in plain text.

Applied Epic → Matomo · what breaks

Why this join usually fails — Applied Epic → Matomo

  1. 01

    The first-party visitor ID never reaches Applied Epic

    Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.

  2. 02

    Premium reported instead of commission

    A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.

  3. 03

    Owning the pipeline means owning the outage

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  4. 04

    Nothing reconciles afterwards

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

Applied Epic → Matomo · the fix

What working looks like — Applied Epic → Matomo

  • The first-party visitor ID on every policy

  • Conversions arriving in Matomo

    The event lands in your own database and is queryable directly, including the raw log, which most analytics products do not expose.

  • Reconciled against the source

Applied Epic → Matomo · architecture

How Applied Epic and Matomo actually connect

  1. 1

    Applied Epic holds the truth

    The agency does not earn the premium. It earns a percentage of it, annually, for as long as the policy renews — which makes both the value and its timing quite unlike a one-off sale.

  2. 2

    Matomo needs a click to match

    The site ID, the visitor identifier and the event or ecommerce order. Self-hosted instances additionally need the tracker endpoint reachable and the database keeping up, which hosted tools do not fail at.

  3. 3

    The identifier is the bridge

    The first-party visitor ID, captured at the visit and carried into the Applied Epic policy.

  4. 4

    The event source decides reliability

    Send bound policies at first-year agency commission, with renewals reported as retention.

  5. 5

    Deduplication at the destination

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

Applied Epic → Matomo · normal or broken

Working vs. broken, side by side — Applied Epic → Matomo

Normal, not a fault

  • The first-party visitor ID present on the policy

  • Sent from the Applied Epic policy record

  • Deduplicated correctly

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

  • Reconciles with the source

Actually broken

  • The first-party visitor ID missing on most records

    Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.

  • Sent from the browser

    A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.

  • Counted twice, or not at all

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  • Nobody has reconciled it

Applied Epic → Matomo · diagnose

Diagnostic order — Applied Epic → Matomo

  1. 01

    Count policys carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm the imported value is agency commission

    The distinction is well understood inside the agency and routinely lost in the pipeline to the ad platform.

  4. 04

    Check tracker reachability and database lag before debugging any tag

    On self-hosted analytics the answer is infrastructure more often than instrumentation.

  5. 05

    Read the match rate, not the success message

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

Applied Epic → Matomo · prove

How it gets proven — Applied Epic → Matomo

Source of truth

Policies bound, valued at agency commission on premium rather than at the premium itself.

  • The first-party visitor ID confirmed present on a live policy.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Bound policies reconciled at agency commission against imported conversions.

Applied Epic → Matomo · free audit

What we check in the free audit

  • Count policys carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Confirm the imported value is agency commission
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Policies bound, valued at agency commission on premium rather than at the premium itself.

Get my free conversion tracking audit

Free30 minutesNo obligation

Applied Epic → Matomo · when not to buy

When you don't need this — Applied Epic → Matomo

  • Measure identifier coverage yourself first — pull your last hundred policys and count how many carry the first-party visitor ID.
  • If you cannot get commission into the pipeline, send a bound-policy count. A count is honest; premium is not.
  • If you have no privacy or ownership requirement and no team to run it, a hosted product removes the only real cost of this one.

Applied Epic → Matomo · what we deliver

What gets built — Applied Epic → Matomo

  • Identifier capture into Applied Epic

    Store the identifier on the client record at enquiry so a policy bound later resolves to it.

  • Event source: the Applied Epic policy record

    Send bound policies at first-year agency commission, with renewals reported as retention.

  • Dispatch to Matomo

    The Matomo HTTP Tracking API, posted server-side from your order system.

  • Reversals where they exist

    Cancelled policies reverse pro rata.

Written guarantee

95%+ tracking accuracy

Measured against Policies bound, valued at agency commission on premium rather than at the premium itself.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Applied Epic → Matomo questions, answered

Store Matomo's visitor ID with the quote, then send an ecommerce order server-side when the policy binds, authenticated so it can carry the original timestamp. Use commission as revenue.

Free · 30 min

Get Applied Epic and Matomo joined properly

Free30 minutesNo obligation