Re:Show HN: Analytics.js – The analytics API you've always w...
by ianstormtaylor on Thursday December 13, 2012 @03:01AM
(#4914821)
Really good points. I think there is definitely a way for the Mixpanel-esque API to map cleanly via a decided on spec to the GA-style API with 'category' and 'label'. We are thinking about how to solve this in the nicest way possible for the developer right now!
[ Parent
| on HN ]
Re:Show HN: Analytics.js – The analytics API you've always w...
by alexatkeplar on Thursday December 13, 2012 @03:19AM
(#4914861)
It's going to be really hard to make a generic, non-lossy mapping in a static, stateless JS script. Have you looked at Google's dataLayer as an alternative yet? The setup guide for SnowPlow + dataLayer is here in case it's interesting: https://github.com/snowplow/snowplow/wiki/Integrating-javasc...
The dataLayer approach seems really sound to us - here's hoping other tag management solutions move to something similar (or standardise on Google's dataLayer API).