tpitale/staccato

Allow setting global options as defaults on a tracker

tpitale opened this issue · 0 comments

Allow setting tracker-level default options for any of the global hit options. Something like this, maybe?

Staccato.tracker('UA-XXXX-Y', hit_defaults: {
  hostname: 'api.example.com',
  adwords_id: 'CL6Q-OXyqKUCFcgK2goddQuoHg'
})