top | item 7872749

Boba.js: a JavaScript library for Google Analytics

37 points| athaeryn | 11 years ago |boba.space150.com | reply

14 comments

order
[+] antjanus|11 years ago|reply
This is pretty awesome. GA isn't the easiest thing to work with, nor the most semantical. Boba seems to add some sense into the entire ordeal.

Cool stuff! :)

[+] gk1|11 years ago|reply
Have you tried using Google Tag Manager? It does most of this through a simple UI, which means less work/frustration for developers.
[+] bshimmin|11 years ago|reply
What a beautiful illustration and web site for 104 lines of (admittedly quite useful) JavaScript!
[+] basicallydan|11 years ago|reply
Looks great! Why "Boba" though? Just a fan of the bounty hunter?
[+] athaeryn|11 years ago|reply
Thanks! A fan, and since he tracks things in space it seemed like enough of a connection. :)
[+] timboslice|11 years ago|reply
Awesome abstraction. Loving the "watch" feature
[+] james33|11 years ago|reply
It is too bad it requires jQuery, looks useful otherwise.
[+] athaeryn|11 years ago|reply
I've considered removing the dependency, but I'm not quite sure how I want to go about it. It's something I'd like to do, certainly, but as we use jQuery on pretty much all of our projects there wasn't too much motivation to ditch it.

Feel free to open an issue—or even better, send a pull request—on GitHub. :)

[+] bckmn|11 years ago|reply
See my comment above on my non-jQuery version. Very lightweight (<3kb).