Dittly / website

🔨 The Dittly Website
4 stars 2 forks source link

Add keenio tracking #47

Closed mikenikles closed 7 years ago

mikenikles commented 7 years ago

In the spirit of tracking everything, this PR adds a /_track/:collection endpoint. Sending a POST request to that endpoint with a valid collection name* will forward the event to keen.io.

*valid collection names are defined in the ALLOWED_COLLECTIONS array in utils/tracking.js.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.9%) to 78.947% when pulling c461b822a139d8076c8c539ae9ce754aba21d3bb on add-keenio-tracking into 54880ed0568072c220b5addc8b1a5ee742e53b69 on master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.9%) to 78.947% when pulling 03d4ddfb3c0bc9d8f98a0fa6ee63ea5d5e045346 on add-keenio-tracking into 54880ed0568072c220b5addc8b1a5ee742e53b69 on master.