2071 Posts in 814 Topics by 448 members
|Go to End|
1 June 2011 at 3:42am
Has anyone added Google Anaytics Ecommerce Tracking?
If so, please can you post the code.
1 June 2011 at 10:33am Last edited: 1 June 2011 10:35am
FYI: this is also an issue on the issue tracker - http://code.google.com/p/silverstripe-ecommerce/issues/detail?id=48
It'll be very useful, once implemented I can provide SVN access if someone wants to commit their code to an ecommerce sub-module.
Perhaps the implementation could also optionally include event tracking ... ie 'added x to cart' , 'removed x from cart'.
1 June 2011 at 11:00am
Yes, including descriptions & values of order items & modifiers (tax, delivery, etc) and totals. This should be quite easy as final values for modifiers have been saved to the database by this stage, so modifiers themselves don't need to be consulted, and their code doesn't need to be adapted.
Does the order page distinguish between when it's loaded as order confirmation, and when it's loaded from the account page? They are one and the same, right? We don't want Analytics to be told there's another new order every time someone views an old order.
There's a flag on the Order record for 'ReceiptSent' to avoid sending duplicate emails. Maybe something similar is required to prevent double counting in Analytics. Or maybe just one general purpose order status flag would be better.
|Go to Top|