segmentio/analytics.js — pull request #36 by starrhorne (2013-01-01 02:43:35+00:00)
Title: Added domain setting to google analytics provider

When using GA across multiple subdomains you need specify a domain parameter on initialization. I just added this, as well as a test.

The test is a little awkward because in chai, `expect([[1,2], [3,4]]).to.include([1,2])` doesn't work like you'd hope.