I am trying to send an http request for e-commerce tracking.
I got the response http_code = 200 , but I do not see any event or transaction.
The code:
$fields_string = '';
$fields = array(
'v' => 1,
'tid' => "UA-xxxxxx-1",
'cid' => $userid,
't' => 'transaction',
'ti' => $transaction_id,
'tr' => $Transaction_revenue,
'ts' => $Transaction_shipping,
'tt' => $tax,
'cu' =>'EUR'
);
Hit:
V = 1 & m = event & TID = UA-XXXXXX-1 & chid = 555 & UID = 123 & Ti = 21 & TR = 20 & mt = 5 & c = 2 & pa = purchase & ec = order & = Purchase
What could be the problem?
Many thanks.
source
share