Skip to content

DebugResponse return null and no data send to GA #98

@jripmeester

Description

@jripmeester

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions