-
- Téléchargements
Refs #898 Work in progress (but should leave trunk stable and not break anything)
* Now tracking Ecommerce Items (sku,name,category,qty,price) * zero, 1 or many items can be in a Ecommerce Cart (total), or an Ecommerce order (orderid, grandtotal, subtotal, tax, shipping, discount) * A Cart left at the end of a visit becomes an Abandoned cart. New reports separate orders from abandoned carts. * JS API and PHP API have 3 new functions (add items, track cart update, track ecommerce order) * JS stores timestamp last ecommerce transaction in id cookie so we can count repeat buyers * Goals.get API now returns stats for the two goals: ecommerceOrder and ecommerceAbandonedCart * new API functions to request Items (product) reports: getItemsSku, getItemsName, getItemsCategory. See doc: If you are tracking Ecommerce orders and products on your site, the functions "getItemsSku", "getItemsName" and "getItemsCategory" will return the list of products purchased on your site, either grouped by Product SKU, Product Name or Product Category. For each name, SKU or category, the following metrics are returned: Total revenue, quantity, average price, average quantity, number of orders with this product. By default, these functions returns the 'Products purchased'. These functions also accept an optional parameter &abandonedCarts=1. If the parameter is set, it will instead return the metrics for products that were left in an abandoned cart therefore not purchased. The API also lets you request overall Goal metrics via the method "get": Conversions, Visits with at least one conversion, Conversion rate and Revenue. If you wish to request specific metrics about Ecommerce goals, you can set the parameter &idGoal=ecommerceAbandonedCart to get metrics about abandoned carts (including Lost revenue, and number of items left in the cart) or &idGoal=ecommerceOrder to get metrics about Ecommerce orders (number of orders, visits with an order, subtotal, tax, shipping, discount, revenue, items ordered) * showing ecommerce orders/abandoned carts in the Live! API output * new segments: visitEcommerceStatus and daysSinceLastEcommerceOrder * these new attributes also appears in Live! API output * Fixes #1975 as side effect of cleaning up all this code this bug should now be fixed (bug was to use nb of conversions as dividend, rather than number of converted visits) * adding full integration test testing all possible use cases regarding Ecommerce carts/orders/items etc. * also integration testing the changes to piwik.js git-svn-id: http://dev.piwik.org/svn/trunk@4691 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent
9279b6ac
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- core/API/DocumentationGenerator.php 2 ajouts, 1 suppressioncore/API/DocumentationGenerator.php
- core/API/Proxy.php 2 ajouts, 1 suppressioncore/API/Proxy.php
- core/Archive.php 27 ajouts, 1 suppressioncore/Archive.php
- core/ArchiveProcessing/Day.php 108 ajouts, 15 suppressionscore/ArchiveProcessing/Day.php
- core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php 5 ajouts, 2 suppressionscore/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
- core/DataTable/Filter/ReplaceColumnNames.php 10 ajouts, 1 suppressioncore/DataTable/Filter/ReplaceColumnNames.php
- core/Db/Schema/Myisam.php 33 ajouts, 2 suppressionscore/Db/Schema/Myisam.php
- core/Piwik.php 6 ajouts, 1 suppressioncore/Piwik.php
- core/Tracker/Action.php 135 ajouts, 51 suppressionscore/Tracker/Action.php
- core/Tracker/GoalManager.php 487 ajouts, 16 suppressionscore/Tracker/GoalManager.php
- core/Tracker/Visit.php 72 ajouts, 47 suppressionscore/Tracker/Visit.php
- core/Updates/1.5-b1.php 79 ajouts, 0 suppressioncore/Updates/1.5-b1.php
- core/Version.php 1 ajout, 1 suppressioncore/Version.php
- js/piwik.js 151 ajouts, 15 suppressionsjs/piwik.js
- lang/en.php 6 ajouts, 0 suppressionlang/en.php
- libs/PiwikTracker/PiwikTracker.php 146 ajouts, 0 suppressionlibs/PiwikTracker/PiwikTracker.php
- piwik.js 11 ajouts, 10 suppressionspiwik.js
- plugins/API/API.php 45 ajouts, 0 suppressionplugins/API/API.php
- plugins/Actions/Actions.php 22 ajouts, 12 suppressionsplugins/Actions/Actions.php
- plugins/CustomVariables/CustomVariables.php 2 ajouts, 2 suppressionsplugins/CustomVariables/CustomVariables.php
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter