Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Add e-commerce transaction tracking #15

Open
aeirola opened this issue Oct 2, 2020 · 0 comments
Open

Add e-commerce transaction tracking #15

aeirola opened this issue Oct 2, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@aeirola
Copy link
Contributor

aeirola commented Oct 2, 2020

Since the data is rather complex, we might need to check how the SDKs and piwik actually behaves in these situations. Preferably the result should be identical on both platforms

trackEcommerceOrder(
  orderId: string,
  grandTotal: number,
  subTotal?: number,
  tax?: number,
  shipping?: number,
  discount?: number,
  items?: Array<{
    sku: string,
    name?: string,
    category?: string,
    price?: number,
    quantity?: number,
  }>,
)

See:

@aeirola aeirola added this to the v1.0.0 milestone Oct 2, 2020
@aeirola aeirola added the enhancement New feature or request label Oct 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant