Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Mixpanel, Amplitude or Segment events missing: how to fix it

TRK-243Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Product analytics tools such as Mixpanel, Amplitude and Segment record events: named actions like Sign Up, Add to Cart or Purchase. Your page sends each event to the tool through a script (an SDK). If an event is missing, the action happened but the tool never received it, or received it under a different name or user.

Why it costs you leads or sales

Missing events do not stop a visitor buying, but they blind you. Funnel reports show a false drop-off, cohorts shrink, and any audience or automation built on those events (emails, ad audiences, experiments) misses real customers. You may cut a campaign that works or fix a step that was never broken.

Where an event can drop
  1. Visitor actsSubmits form or buys
  2. SDK calltrack() never runs or is blocked
  3. Analytics toolNo event received
  4. Reports and audiencesFunnel shows a false drop

The visitor converts, but the event is lost at the SDK step, so reports and downstream tools never see it.

Reported vs real sign-upsExample numbers
Reported vs real sign-ups (example)Real sign-ups: 100 sign-ups; Events recorded: 70 sign-ups0387710070Real sign-upsEvents recordedsign-ups

Example: 100 real sign-ups in a week, but only 70 events reach the tool, so the funnel looks 30% worse than it is.

How to check if your site has it

Trace one event from click to report
  1. Open DevTools Network tab

    In Chrome press F12, choose Network, tick Preserve log, then perform the action (submit the form, add to cart).

  2. Look for the outgoing request

    Filter for mixpanel, amplitude or segment. Typical hosts are api.mixpanel.com, api2.amplitude.com and api.segment.io or cdn.segment.com. No request means the call never fired.

  3. Check the response

    A 200 status means the tool accepted it. A blocked, cancelled or red request points to an ad blocker, consent tool or network rule. A 400 or 401 points to a bad payload or wrong key.

  4. Check the tool's live view

    Use Mixpanel Live View, Amplitude User Lookup or Event Stream, or the Segment Debugger. Confirm the event name, properties and user ID match what you expect.

  5. Test without extensions and with consent

    Repeat in a clean browser profile, once accepting cookies and once declining. Compare results.

An event that never fires

The action happens, but the tracking call does not leave the page.

Common causes and what you see
CauseWhat you see in NetworkFix
SDK not loadedNo script request, console error mixpanel is not definedLoad the snippet before any track call
Call before initConsole error or queued event lostInitialise first, then track
Consent blockingNo request until cookies acceptedFire after consent, or use consent mode
Ad blockerRequest cancelled or blockedSend through a first-party proxy
Wrong key or project200 but data in another project, or 401Use the right token or write key
Destination off (Segment)Segment receives it, Mixpanel does notEnable the destination and check filters

How to fix it

Fix the first broken step
  1. Load the SDK before it is used

    Put the snippet in the head, or make sure your tag manager fires it earlier than any event tag. Call init once, then track.

  2. Use the correct key

    Mixpanel uses a project token, Amplitude an API key, Segment a source write key. Check that staging and production keys are not swapped.

  3. Match event names exactly

    Names are case sensitive. Sign Up and sign_up are two events. Agree one naming list and use it everywhere.

  4. Fire events at the right moment

    Track on the success response, not the button click, and before any redirect. A page that navigates away can cancel the request.

  5. Handle consent

    If events wait for consent, confirm the consent tool actually releases them after acceptance.

  6. Reduce ad blocker loss

    Route calls through your own domain (a proxy). Mixpanel, Amplitude and Segment each document this setup. Respect consent and platform terms when you do.

  7. Check Segment destinations

    In Segment open the source, confirm events show in the Debugger, then check each destination is enabled and no filter or tracking plan blocks the event.

Where to add or repair the tracking call
  1. Order the tags

    Fire the SDK/init tag on All Pages (Initialization trigger if available), and event tags on later triggers, or use tag sequencing.

  2. Use a success trigger

    Trigger event tags on a custom event pushed to the dataLayer after the form or order succeeds, not on a click.

  3. Test in Preview

    Open Preview mode and confirm the tag shows as Fired, then check the Network tab.

Track on success, before the redirect (Mixpanel example)javascript
mixpanel.init('YOUR_PROJECT_TOKEN');

async function onSubmit(data) {
  const res = await fetch('/api/lead', { method: 'POST', body: JSON.stringify(data) });
  if (res.ok) {
    mixpanel.track('Sign Up', { plan: 'trial' }, { send_immediately: true }, function () {
      window.location.href = '/thank-you';
    });
  }
}

How to confirm it's fixed

Confirm the fix
  • The request appears in the Network tab with a 200 status
  • The event shows in Live View, Event Stream or the Segment Debugger within a minute
  • Event name and properties match your naming list
  • The event works with consent accepted, and behaves as designed when declined
  • Segment destinations show the event arriving downstream
  • Test on mobile and in a second browser
Event tracking before and after

Before

  • Call runs before init or is cancelled by a redirect
  • Reports undercount sign-ups
  • Destinations miss the event

After

  • Init once, track on success
  • Event visible in live view
  • Counts match the real number of actions

How to prevent it happening again

Habits that keep events flowing
  • Keep one written list of event names and properties
  • Use a Segment tracking plan or similar schema check where you can
  • Retest key events after theme, plugin, consent or tag manager changes
  • Compare event counts with real orders or leads in your CRM each week
  • Keep separate keys for staging and production
  • Document who owns each tracking call

How FunnelGuard handles this

FunnelGuard does not check Mixpanel, Amplitude or Segment events yet. It is a possible future check, so you should not rely on FunnelGuard to tell you when these events stop.

What FunnelGuard does check nearby: a robot visitor runs your real journeys on a schedule, such as lead forms and checkouts, and verifies each step, the tracking hits sent to ad and analytics platforms (GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X, Reddit), and whether test leads reach your inbox and CRM. If the form itself breaks, that is caught. A missing product analytics event on a working form is not.

Questions people ask

Why are my Mixpanel events not showing up?

The most common causes are the SDK not loading, a track call running before init, a wrong project token, or an ad blocker or consent tool stopping the request. Check the Network tab for a request to api.mixpanel.com and its status. Then confirm the event in Live View.

Why is Amplitude not tracking my events?

Check that the API key is correct, the SDK is initialised before you call track, and the request returns 200 in the Network tab. Also check consent settings and ad blockers. In Amplitude, use User Lookup or the Event Stream to see what arrived.

Why do events appear in Segment but not in Mixpanel or Amplitude?

The destination is probably disabled, misconfigured or filtered. Open the source in Segment, check the Debugger shows the event, then check the destination settings, its delivery status, and any tracking plan or filter blocking that event.

Do ad blockers block Mixpanel, Amplitude and Segment?

Yes, many ad and privacy blockers block requests to well-known analytics domains, so some real visitors are never recorded. You can reduce this by sending events through a first-party proxy on your own domain, while still respecting consent.

Why are my event names showing up as duplicates?

Event names are case sensitive and exact. Sign Up, sign_up and signup count as three events. Pick one naming convention, document it and update every call, including tag manager tags.

How do I test that a Mixpanel or Segment event fires?

Open DevTools, go to Network, perform the action and filter for the tool's domain. A 200 response means it was accepted. Then confirm it in Mixpanel Live View, the Amplitude Event Stream or the Segment Debugger.

Why do events go missing right before a redirect?

If the page navigates away before the request completes, the browser can cancel it. Track on the success response and wait for the callback, or use a send-immediately option, before redirecting.

Does FunnelGuard monitor Mixpanel, Amplitude or Segment events?

Not yet. It is a possible future check. FunnelGuard does run your real journeys and checks the steps, tracking hits to major ad and analytics platforms, and lead delivery, but it does not verify these product analytics events.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.