- π¦πΊAustralia darvanen Sydney, Australia
No activity for many years and Drupal 7 is now out of support. Marking out of date.
From kscheirer:
My response:
These are actually really complicated issues. Mixpanel's library must be available before any other JavaScript, and mixpanel.init() has to be called with it's token right away (and Drupal.settings is added to the page after the script includes). The "obfuscated" Javascript (I think it's just minified for space) actually creates a stub 'mixpanel' object, which just buffers commands in an Array until the full library is loaded and then it'll send them to the server. This way the 'mixpanel' Javascript object is available immediately and to all other scripts, even before it's library loads.
Anyway, while the current code works, I'm not totally happy with it either and I think you're right - it could be cleaned up!
That said, I don't think we really do much worse than Google Analytics. ;-)
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activity for many years and Drupal 7 is now out of support. Marking out of date.