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

Coming in as strings #6

Open
morrow95 opened this issue Aug 30, 2023 · 0 comments
Open

Coming in as strings #6

morrow95 opened this issue Aug 30, 2023 · 0 comments

Comments

@morrow95
Copy link

I've added a custom dimension for 'coupon' to map from products -> items. It works.

What I noticed though is that 'price' and 'quantity' are not forced as numbers... they come through as strings. Unfortunately, that is passed from my order processor so I can't change them. I did notice that 'quantity'... even though it is originally a string is converted to a number.

I am requesting that 'price' be forced to a number in the items array and, if possible, a way to force custom dimensions/metrics to numbers as well.

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

No branches or pull requests

1 participant