customerio / customerio-ruby

A ruby client for the Customer.io event API.
https://customer.io/docs/api/
MIT License
64 stars 75 forks source link

Add unique_track method #108

Open marckohlbrugge opened 10 months ago

marckohlbrugge commented 10 months ago

Proposal for #107

Adds an unique_track method to ensure uniqueness when tracking the same event multiple times, by adding a ULID.

Ideally, we would add this to the existing track method, but doing so in a backwards-compatible way requires jumping through various hoops. I figured a separate method might be simpler.

marckohlbrugge commented 8 months ago

Bump!

lukeasrodgers commented 5 months ago

I also need this functionality, and this implementation LGTM.