Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supported property types? #239

Open
xXxXxXxXxXam opened this issue Feb 13, 2025 · 1 comment
Open

Supported property types? #239

xXxXxXxXxXam opened this issue Feb 13, 2025 · 1 comment
Labels
question Further information is requested

Comments

@xXxXxXxXxXam
Copy link

Summary

I've looked around at docs and in code and previous issues and haven't found anything. Might be missing it, but is there anywhere that documents what types are supported as properties in the track method? In code, properties are a type of Any.

For example of why I'm looking for these docs, I'm wanting to send a time as a property to an event, are there docs for recommended types to use for something like that? Instant? a date time String? Long as millis?

Cheers

@xXxXxXxXxXam xXxXxXxXxXam added the question Further information is requested label Feb 13, 2025
@izaaz
Copy link
Collaborator

izaaz commented Feb 14, 2025

@xXxXxXxXxXam we don't support a datetime property values. You can pass in a long or a string value. Within Amplitude, you'll be able to query them again by specifying a number or a string in the chart builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants