Add javascript tracker and give Blocmetrics the capability to receive and record events from the js tracker.

I have a test for the data over in api_controller_spec, necessary to duplicate?



On Jul 24, 2014, at 7:16 AM, Oliver Azevedo Barnes <notifications@github.com> wrote:

> In spec/javascripts/js_webstub_spec.js:
> 
> > @@ -0,0 +1,16 @@
> > +//= require spec_helper
> > +//= require js_webstub
> > +
> > +describe("Blocmetrics_track#postEvent", function() {
> Good progress on this test and the design of the implementation. It's not testing the payload (the event data you're sending) yet though. It's important to do this to ensure it's what the api expects.
> 
> Also good to do a manual test to ensure the integration between the event poster code and the api works
> 
> —
> Reply to this email directly or view it on GitHub.
>