Skip to content

Conversation

@joandvgv
Copy link

Hi all! I noticed the current track event is not sending the id as part of the payload so the event deduplication feature is not working.

This should do the fix, am I right?

Can update formatting or attend any request from repository owners if this PR makes sense.

Thank you!

@newhook
Copy link

newhook commented Jul 3, 2023

Hey Joan , thanks for the PR. However, won't this break existing code which passes "id" as part of the data payload? For example, consider:

cio = CustomerIO(site_id, api_key, region=Regions.US)
cio.track(customer_id="5", name='purchased', id='item_47', price=2.25)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants