This gets interesting...
Bill @ AlteredCart asked me to disable chekout_one and checkout with only stock OPC and x-payments.
I did a test order with C1 disabled.
And the order_message "success page" source contains all the GA code (and it reported to GA). That's good.
And the conversion code and sales data appears almost instantly in GA. That's good.
HOWEVER - this is now getting strange┘
If you look at the variables in the order_message page, the variable, {$ga_track_commerce} is set to "N" ???? yes, with only x-payments and OPC, the variable, {$ga_track_commerce} is set to "N"
But if {$ga_track_commerce} is N, then why/how are the 3 transaction variables showing, because in the template,
/skin/common_files/modules/Google_Analytics/ga_code_async.tpl
there is an if...
Code:
{if $config.Google_Analytics.ganalytics_e_commerce_analysis eq "Y"
and $ga_track_commerce eq "Y"
and $main eq "order_message"
and $orders
}
// Ecommerce Tracking for order_message page
etc┘
SO - if {$ga_track_commerce} is N, the tracking scripts shouldn't appear. Right?
BUT -- if I turn C1 off and use xcart OPC, $ga_track_commerce is N, but all tracking code is there.
AND -- if I turn C1 back on, $ga_track_commerce is also N, but all tracking code is missing.
Any ideas what's going on here?
Very confused.