Skip to content

addEcommerceItem(): Value for item is not set when category is undefined #100

Description

@NoelLH

The docs imply that productCategory can be explicitly set undefined and subsequent properties used successfully, but this seems to be untrue.

If you set productCategory to undefined and price to a > 0 number, price is still sent to Matomo as 0 when you track the ecommerce conversion.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions