Skip to content

Coming in as strings #6

@morrow95

Description

@morrow95

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions