lukeed/ganalytics

allow xhr requests to be sent

Brantron opened this issue · 2 comments

Hey! This is a great project. I'm using it in a chrome extension and having trouble since we cant enable images from external sources. ga offers the ability to use xhr's via ga('set', 'transport', xhr'); Can that type of functionality be replicated here?

Hey, thanks!

Actually, 1.0.0 did this, allowing you to pass in custom methods.

I'd pin to that version for your case.

Hey, revisiting this:

Didn't know what the requested feature was off-hand. After looking it up real quick, this won't be possible since ganalytics is specifically the "image" transport... This is why it's able to be so small.

Hope you understand, thanks!