Webclat / Martech Practice
Webclat / Martech Practice

QA: Cross-Tool Tracking Problems, Answered Once, Correctly

23 canonical questions covering Mixpanel, Matomo, Snowplow, Hotjar, and cross-channel attribution modeling - the tool-agnostic and multi-tool tracking problems that keep getting re-asked because nobody wrote the plain-language answer down.

Each page: the fix in one quotable paragraph, why it actually happens, numbered steps branched by stack where it matters, and how to verify the fix worked at runtime - not just "looks right."

23 Questions, Grouped By Tool

QA / 23
Mixpanel (7)
01

Why does Mixpanel throw "mixpanel object not initialized" even though I called mixpanel.init()?

Mixpanel's async snippet queues calls until mixpanel-2-latest.min.js finishes loading - here is why a track() call fired too early throws this error, and how to guard against it.

Read the fix →
02

What's the correct Mixpanel call sequence (identify/alias/people.identify) to merge an anonymous user into a known one?

Confusing identify() and alias() is the most common Mixpanel identity bug. Here is the exact call order for signup, login, and profile updates.

Read the fix →
03

How do I reset Mixpanel's distinct_id on logout so the next user doesn't inherit the previous session's identity?

Skipping mixpanel.reset() on logout folds the next user's activity into the previous person's profile. Here is exactly when to call it.

Read the fix →
04

What's the checklist for tracking down why specific Mixpanel events never arrive?

Missing Mixpanel events have at least five independent causes that look identical from the reporting UI. Work through them in this order.

Read the fix →
05

Why doesn't mixpanel.track_links() work on elements that are added to the DOM after page load?

track_links() binds to elements present at call time, not via delegation - here is why dynamically added links never fire, and the delegated-listener fix.

Read the fix →
06

Is it safe that the Mixpanel client token is publicly visible in my page source, and what's actually at risk?

The Mixpanel project token is designed to be public. Here is what is actually at risk when it is visible, and what to check instead.

Read the fix →
07

How do I adjust CSP so Mixpanel can load inside a Chrome extension context?

Manifest V3 blocks remotely-hosted scripts by default. Here is how to bundle Mixpanel locally and scope connect-src correctly.

Read the fix →
Matomo / Piwik (5)
Snowplow (2)
Hotjar (4)
Cross-Tool Attribution (5)

Not Finding Your Exact Symptom?

Tell us what you are seeing. We trace tracking implementations across every major analytics, tag-management, and product-analytics platform for a living.