Skip to content

v2.0.0 - Some events not being tracked in Empty Cart #389

@puntope

Description

@puntope

Describe the bug:

In the Cart Empty page when clicking to Add To Cart a fatal error is shown.

Screen.Recording.2024-03-11.at.17.00.46.mov

⚠️ Aditionally, other events like "view_item_list", "select_content" are not being triggered.

Steps to reproduce:

  1. Go to Cart page without any item in the cart
  2. ⚠️ See the products, but "view_item_list" is not triggered
  3. Click on "Add to cart" in the products shown.
  4. ⚠️ See the error in the console
  5. ⚠️ "add_to_cart" event is not being tracked.
  6. Click on the product image
  7. ⚠️ "select_content" is not triggered.

Expected behavior:

  1. Go to Cart page without any item in the cart
  2. See the products, but "view_item_list" is triggered
  3. Click on "Add to cart" in the products shown.
  4. "add_to_cart" event is being tracked.
  5. Click on the product image
  6. "select_content" is triggered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions