TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Mixpanel Event Queueing Wrapper

9 pointsby skotzkoalmost 12 years ago

2 comments

msaspencealmost 12 years ago
I&#x27;m confused by the necessity for this?<p>If you use the integration code demonstrated in their docs here: <a href="https://mixpanel.com/help/reference/javascript" rel="nofollow">https:&#x2F;&#x2F;mixpanel.com&#x2F;help&#x2F;reference&#x2F;javascript</a>, Mixpanel already has an event queue natively.<p>It sets the `mixpanel` variable to an array which which holds the event queue. It then defines functions on this array with the same names as those in the full library. When any of them are called the call is added to the event queue array.<p>When the full library loads, the array of queued events is placed in a temporary variable. The full library is loaded into the `mixpanel` variable and then the the queue is replayed by the full library.<p>analytics.js also works in this way
评论 #6130218 未加载
评论 #6130160 未加载
skotzkoalmost 12 years ago
This is my first open-source project. I was frustrated that Mixpanel did not natively include a queueing system for events (a la Google Analytics, KISSmetrics, etc) so I built one. Hope others find it useful and welcome any feedback.
评论 #6128239 未加载