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

Support for "price" tracking on Ecommerce product page views #2660

Closed
mattab opened this issue Sep 14, 2011 · 2 comments
Closed

Support for "price" tracking on Ecommerce product page views #2660

mattab opened this issue Sep 14, 2011 · 2 comments
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Sep 14, 2011

Currently we do not track the "price" of an object on a Ecommerce product page view. We only track product SKU, Name and category.

Tracking the price will be a useful data point for future uses. Also, we will be able to return the "price" in the API response as a new field.

@mattab
Copy link
Member Author

mattab commented Sep 19, 2011

(In [5191]) Fixes #2660

  • Adding price tracking on Ecommerce pages, via JS or PHP api.
  • Displaying price in API field avg_price ONLY IF the product was NOT purchased. If a product was purchased, the "display price" tracked is not displayed and purchased price is used instead.
  • Price tracked with this feature will ONLY be displayed as "Avg_price" in Product Names, and Product SKUs ONLY WHEN the products havent been bought.
  • Hacking around tracking price for ecommerce items, using a custom variable and small custom hacks to the SQL to get the average price for each custom var.
    Similar to doing basic version of custom variables co variation
  • Allow custom variables values to be integer (previously would fail to record the custom variable)

TODO: Update Doc

@mattab
Copy link
Member Author

mattab commented Sep 20, 2011

(In [5194]) Refs #2660

  • Fix bug in JS API
  • Now use price tracked in categories to process avg price per category

@mattab mattab added this to the 1.6 Piwik 1.6 milestone Jul 8, 2014
@mattab mattab self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

1 participant