toitoit
February 21, 2019, 1:09pm
1
We have issues, that several Orders are tracked twice. It happens, when users are visiting the checkout success page again. We are using an unique orderId. You documentation is saing, that the old order will be dropped, when its tracked again: https://matomo.org/docs/ecommerce-analytics/#tracking-ecommerce-orders-items-purchased-required
Could it be possible, that this is not working, when we have enabled DSVGO/GDPR related options like anonymizing orders number?
Case:
opened 01:52PM - 22 Feb 19 UTC
closed 02:20AM - 10 May 19 UTC
c: Website matomo.org
Currently the documentaion is saying, when the same orderId will be tracked as c… ompleted order, it will automatically discard the order as it is already recorded:
https://matomo.org/docs/ecommerce-analytics/#tracking-ecommerce-orders-items-purchased-required
It seems, this is not working, when you have enabled to anonymize the order number. Its not documented, if this is intended or a bug.
Matomo-Version: 3.8.1
MySQL-Version: 5.5.60-MariaDB
PHP-Version: 7.1.26
Hi @DIGITAL_ACTSTAR , @toitoit
I don’t find this information anymore.
The only thing I found is:
Note: The unique order ID generated by your cart software ensures the same order isn’t tracked twice
This could be interpreted as this is unique from point of view of cart software and/or from the point of view of Matomo tracking…
Which Matomo version do you use?
@innocraft , how Matomo should work for order ids?
I saw this:
opened 02:56AM - 22 Nov 16 UTC
Major
Enhancement
c: Ecommerce
Related issue: https://github.com/piwik/piwik/issues/5292
I am trying to remo… ve a canceled order with the Tracking API:
http://developer.piwik.org/api-reference/tracking-api
Here is how the call looks like:
`https://mypiwik.com/piwik.php?idsite=7&rec=1&url=https%3A%2F%2Fmysite.com&apiv=1&idgoal=0&ec_id=1611210002&revenue=0&ec_st=0&ec_tx=0&ec_sh=0&ec_dt=0&token_auth=xxxxxxx`
It appears in piwik
![order](https://cloud.githubusercontent.com/assets/20663500/20509115/6dee715c-b0a1-11e6-8be2-3766e4988abb.png)
But even after I invalidate and re-process the past reports (http://piwik.org/faq/how-to/#faq_155) the statistics show revenue for the original order.
![stats](https://cloud.githubusercontent.com/assets/20663500/20509159/b8dc8b7c-b0a1-11e6-8b4b-226e915259f3.png)
Am I missing something?
fyi: When tracking an order that has the same OrderID Matomo gives the following error:
Invalid non-unique idsite/idorder combination (1, 000143), conversion was not inserted.