Skip to content

Setting to disable events #619

@Undertrey

Description

@Undertrey

Hello! I would like to suggest adding a setting to manually disable event firing from your list.

As I mentioned in another ticket, the view_cart and remove_from_cart events are not working with the Ajax cart/checkout in FunnelKit. So, I decided to create these events manually using GTM triggers and tags with JavaScript.

Would it be possible to add a setting that allows disabling each event individually? (For example, by adding another radio button to the list with a "Disable" option and extending the list with additional events.)

This setting could significantly improve plugin performance and prevent conflicts with custom GTM code. Additionally, in the future, if you add support for the Ajax cart/checkout, this solution could help avoid code duplication, compatibility issues, or even fatal errors and crashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions