Skip to content

Start checkout event sent without data consent #242

@rafaelstz

Description

@rafaelstz

Environment details

PHP version: 8.1
Magento version: 2.4.5 + PWA Studio
Klaviyo extension version: Latest
Anything else that would help a developer reproduce the bug?

Steps to reproduce

Go to the checkout page and fulfill all the initial forms with personal information, when you go ahead to the payment details the data was sent to Klaviyo without any consent.

Expected result

The event being removed from the backend and add to the frontend via JS as the other events that depends on data consent.

Actual result

Data is sent when customers start the checkout even without data consent or any Klaviyo JS loaded.

Additional information

This is the Observer that trigger this event.
https://github.com/klaviyo/magento2-klaviyo/blob/master/etc/events.xml#L3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions