Issue summary:
we see that the report we look from analytics almost never balance with the
actual sales report that we finally received in our ecommerce.
There are always differences.
Notes:
We found not correct or no accuracy as google analytic report raises the
sales by country in regards to ecommerce.
As explained in the manual here:
https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSAp
iEcommerce
-It runs wrongly, by giving a sale, in transfer payment method, given that the
payment has not yet been made by the customer.
-does not run if the customer decides not to trade the page of both paypal or
TPV (or other payment method), since the transaction JS code will not run.
In order to solve theese problems, we think in some solutions:
1. apply transaction's sales just before pay, which would give false sales when
many customers do not end up paying.
2. implement transaction's sales on our server when we receive notification of
payment sent by the corresponding TPV or paypal, or when we manage bank
transfers.
This is the option we are currently implementing thanks to library "php-ga"
(https://code.google.com/p/php-ga/), we can execute the same part of JS of
transaction, without depending on client browser.
So, the problem we see is when we check analytics with this way of sending
transaction: Google analytics is ignoring client IP information (utmip), so all
sales are comming from France, this is wrong.
If you check php-ga, they comment this problem in this piece of source code in
their library, here:
// The "utmip" parameter is only relevant if a mobile analytics
// ID (MO-123456-7) was given,
// see http://code.google.com/p/php-ga/issues/detail?id=9
$p->utmip = $this->visitor->getIpAddress();
We don't understand this behauvieur, client IP is very important to detect the
country of a sale.
Also is not possible, or we don't find how to do it, to check in analytics
information about the country in the transaction. When we sent this information
in every transaction correctly.
You can check in this example. parameter "Country" is not possible to add this
filter in analytics.
_gaq.push(['_addTrans',
'1234', // transaction ID - required
'Womens Apparel', // affiliation or store name
'28.28', // total - required
'1.29', // tax
'15.00', // shipping
'San Jose', // city
'California', // state or province
'USA' // country
]);
Gracias
Original issue reported on code.google.com by lor...@compegps.com on 3 Jul 2013 at 10:19
Original issue reported on code.google.com by
lor...@compegps.com
on 3 Jul 2013 at 10:19