Hi,
I've have a weird problem that some orders of our webshop aren't send to GA.
I've managed to find out when the data isn't send but then when i try to get the debug response it's null.
When an order is sent to GA the response is nicely though. So the sending is failing somewhere butt i can't debug where.
This is my sending line of code
$analytics->setProductActionToPurchase();
$response = $analytics->setDebug(true)->setEventCategory('Checkout')
->setEventAction('Purchase')->sendEvent();
Can you point me in the direction to debug this?
I can't add var_dumps in the code as the method are not physically in the code.
Hi,
I've have a weird problem that some orders of our webshop aren't send to GA.
I've managed to find out when the data isn't send but then when i try to get the debug response it's null.
When an order is sent to GA the response is nicely though. So the sending is failing somewhere butt i can't debug where.
This is my sending line of code
$analytics->setProductActionToPurchase();
$response = $analytics->setDebug(true)->setEventCategory('Checkout')
->setEventAction('Purchase')->sendEvent();
Can you point me in the direction to debug this?
I can't add var_dumps in the code as the method are not physically in the code.