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.
Coverage increased (+0.9%) to 78.947% when pulling c461b822a139d8076c8c539ae9ce754aba21d3bb on add-keenio-tracking into 54880ed0568072c220b5addc8b1a5ee742e53b69 on master.
Coverage increased (+0.9%) to 78.947% when pulling 03d4ddfb3c0bc9d8f98a0fa6ee63ea5d5e045346 on add-keenio-tracking into 54880ed0568072c220b5addc8b1a5ee742e53b69 on master.
In the spirit of tracking everything, this PR adds a
/_track/:collection
endpoint. Sending aPOST
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 inutils/tracking.js
.