14 comments

[ 3.0 ms ] story [ 36.1 ms ] thread
What a beautiful illustration and web site for 104 lines of (admittedly quite useful) JavaScript!
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! :)

Have you tried using Google Tag Manager? It does most of this through a simple UI, which means less work/frustration for developers.
I was thinking the same...
Google Tag Manager is great!

Pros: - It's good at dealing with older browsers - It's async (non blocking) - Simple to implement - No dependencies

Cons: - UI is simple but workflow is a little confusing at first - Not "plug-and-play". Still requires a little working knowledge about Google Analytics.

> ...workflow is a little confusing at first - Not "plug-and-play".

Agreed. It took me some time to get used to it, but after that I've come to really like it and recommend it to many companies. (Occasionally I even do the setup as a short-term consulting job.)

> Still requires a little working knowledge about Google Analytics.

Definitely. A tool is only helpful if you know the thing you're using it on.

It is too bad it requires jQuery, looks useful otherwise.
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. :)

See my comment above on my non-jQuery version. Very lightweight (<3kb).
Awesome abstraction. Loving the "watch" feature
Looks great! Why "Boba" though? Just a fan of the bounty hunter?
Thanks! A fan, and since he tracks things in space it seemed like enough of a connection. :)