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.
- Visitor actsSubmits form or buys
- SDK calltrack() never runs or is blocked
- Analytics toolNo event received
- 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.
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
Open DevTools Network tab
In Chrome press F12, choose Network, tick Preserve log, then perform the action (submit the form, add to cart).
Look for the outgoing request
Filter for
mixpanel,amplitudeorsegment. Typical hosts are api.mixpanel.com, api2.amplitude.com and api.segment.io or cdn.segment.com. No request means the call never fired.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.
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.
Test without extensions and with consent
Repeat in a clean browser profile, once accepting cookies and once declining. Compare results.
The action happens, but the tracking call does not leave the page.
| Cause | What you see in Network | Fix |
|---|---|---|
| SDK not loaded | No script request, console error mixpanel is not defined | Load the snippet before any track call |
| Call before init | Console error or queued event lost | Initialise first, then track |
| Consent blocking | No request until cookies accepted | Fire after consent, or use consent mode |
| Ad blocker | Request cancelled or blocked | Send through a first-party proxy |
| Wrong key or project | 200 but data in another project, or 401 | Use the right token or write key |
| Destination off (Segment) | Segment receives it, Mixpanel does not | Enable the destination and check filters |
How to fix it
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
initonce, thentrack.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.
Match event names exactly
Names are case sensitive.
Sign Upandsign_upare two events. Agree one naming list and use it everywhere.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.
Handle consent
If events wait for consent, confirm the consent tool actually releases them after acceptance.
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.
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.
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.
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.
Test in Preview
Open Preview mode and confirm the tag shows as Fired, then check the Network tab.
Check how the SDK is added
Look in your theme header, a header/footer plugin or your tag manager. Remove duplicates so it loads once.
Exclude from caching and minify
If a caching or optimisation plugin delays or combines JavaScript, exclude the analytics script and retest.
Use Customer events
In Settings > Customer events, add a custom pixel that subscribes to events like checkout_completed and sends them to your tool. Checkout pages do not run theme code.
Check app embeds
If you use an app for Segment or Mixpanel, confirm it is enabled and the key is correct.
Add the snippet in Site settings
Put the SDK in Site settings > Custom code > Head, and event calls in page or form success handlers. Publish and retest.
Initialise once, track on success
Use the example below and call track in your success handler before navigating away.
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
- 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
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
- 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.
Related issues
- TRK-244Segment write key wrong or destinations offFix guide
- TRK-245PostHog / Heap autocapture missing conversionFix guide
- TRK-248Two analytics tools disagreeing on conversion countsFix guide
- TRK-241Session recording loading before consentFix guide
- TRK-246Plausible / Fathom / Matomo tag missingFix guide
- TRK-238Hotjar script missing or wrong site IDFix guide