matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.91k stars 2.65k forks source link

Piwik counts same lost shopping-basket many times #4029

Closed hpvd closed 11 years ago

hpvd commented 11 years ago

at this time I'm setting up a magento store and have piwik integrated right from the start (standard piwik Magento plugin, lastest version) Everything with the default settings. The shop is behind a htacess password and i'm the only visitor.

Now I found a huge problem: Piwik counts the same lost shopping-basket many times.

This is how it happens: some days ago I put an article into the shopping basket. I leave the browser tab (firefox) with this basket open the last two days.

The browser is installed on a windows notebook. This notebook travelled in standby mode from home to work and back to home and back to work and back home... On both place its connected to the internet. The browser was closed some times and restarted. The Browser tab was always opened again.

Now the problem appear: the same shopping basket was counted 8-times within these two days !!

Maybe this is also relevant for normal page visits !!

hpvd commented 11 years ago

of course I can provide a screenshot of the visitor log, but I would prefer not to post it here in public...please post me a line and I would send it by mail...

mattab commented 11 years ago

unfortunately this is by design, since we create one "abandoned cart" per visit and you made 8 visits to the shopping cart page. one solution could be that you only call Piwik when an object was added or removed from the cart, then these "page refresh" would not be counted as extra carts.

hpvd commented 11 years ago

thanks for your answer. I understand. Keep doing it the way it is you really got only wired numbers... (It's the same like counting all bots on your website as human visitors...)

so if I understand it right we simply need the (additional) possibility to only count different abandoned cards. This could be done via a comparison of the abandoned card to the abandoned cart of the visit before. What should be compared is the

What do you think?

Should I open an extra ticket for that?

hpvd commented 11 years ago

or / and / detail

we could distinguish between

  1. counting the visitor action "abandoning cart" => can be done each visit
  2. counting the visitor action "abandoning a new cart" => only counts different(new or modified) carts
hpvd commented 11 years ago

e.g. in the visor log we need a new symbol to show the difference:

one idea could be simply

for 1. => using the symbol of the supermarket trolley with the red cross and put it in brackets

for 2. => keeping the symbol of the supermarket trolley with the red cross

hpvd commented 11 years ago

or doing it the other way around:

we count additionally the number of "the abandoning of each cart"

if this number is 1: it's a new abandoned cart if this number is >1: it's a re-abandoned cart...

Like returning visitors and new visitors...

what's your opinion?

mattab commented 11 years ago

I re-read your ticket more carefully. My opinion is that there is a bug in the Magento plugin for Piwik. On the Basket page, it should not trigger the doEcommerceCartUpdate unless the user actually does an interaction or click to add something to cart or update it.

Here you say that the cart page was simply reloaded. This shouldn't have created a cart entry at all. Please report this suggestion of change to Magento plugin developer :)

Are you using http://www.statstory.com/piwik-ecommerce-extension-for-magento/ ? Cheers

hpvd commented 11 years ago

thanks for your fast answer/feedback! yes I'm using this plugin. I'll post Adrian a message to this ticket...

anonymous-matomo-user commented 11 years ago

I have reviewed and it is not a bug. The plugin is working as intended. I will respond to the email HPVD has sent me.