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

Ecommerce: No visits and conversion rates orders if ecommerce views = 1 #3569

Closed
anonymous-matomo-user opened this issue Nov 22, 2012 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

In the e-commerce reporting for Product SKU, Product Name and Product category no visits and conversion rates are reported for products/categories where the unique number of idvisits for a relating ecommerce view in piwik_log_link_visit_action equals 1.

This affects conversion rates and for products having a ecommerce conversion, but only product views form one unique idvisit since if one person views a product and buys it the conversion rate is 100%.

Our set-up uses 5 categories, SKU and price for both ecommerce view and item.

To reproduce:

  1. Define SKU, Itemname, Cat1, Cat2, Cat3, Cat4, Cat5 and OrderId as vars to make sure they are the same in all calls
  2. Do a e-commerce view for a item with _paq.push([SKU, Itemname, Cat1, Cat2, Cat3, Cat4, Cat5, Price] and _paq.push(['trackPageView']);
  3. Do a conversion (we use the same _paq in the AJAX call on the page, but it shouldn't matter as all gets correctly recorded in MySQL in the custom vars) with _paq.push(Cat2, Cat3, Cat4, Cat5,Price,1]) and _paq.push(["trackEcommerceOrder",OrderId,Price,Price,0,0,!1]);
  4. After processing (we process via archive.php) there will be one order with no visits with 0 % conversion. Even if the visitor made two ecommerce views while having the same idvisit then there will be two orders with no visits and 0 % conversion.
  5. If there is another ecommerce view with a different idvisit in piwik_log_link_visit_action the visits will show (including the initially omitted one) and the conversion will be calculated.

Keywords: ecommerce, goal

@mattab
Copy link
Member

mattab commented Nov 22, 2012

Thanks for the report.

@anonymous-matomo-user
Copy link
Author

Update:

This does not occur anymore after increasing the

datatable_archiving_maximum_rows_{...}

parameters in config.ini.php

Suggest to close this ticket and resolve to worksforme.

Thanks.

@mattab
Copy link
Member

mattab commented Jun 6, 2013

In 4cad655: Adding setting for limiting Custom Variables report in the config file, separate from the referrer config.
This is especially useful to fix an ecommerce bug where "Visits" don't display properly for all products, since we used to truncate after 50 rows.
Also sets by default to 1000 to ensure ecommerce tracking mostly work.
Refs #3569

@anonymous-matomo-user anonymous-matomo-user added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
…e, separate from the referrer config.

This is especially useful to fix an ecommerce bug where "Visits" don't display properly for all products, since we used to truncate after 50 rows.
Also sets by default to 1000 to ensure ecommerce tracking mostly work.
Refs matomo-org#3569
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants