Skip to content

Enhanced E-commerce | Wrong block_name defined so no impressions are pushed to DataLayer #2759

Closed
@jasperzeinstra

Description

@jasperzeinstra

In vendor/magento/module-google-tag-manager/view/frontend/layout/catalog_category_view.xml the block_name is defined as category.products.list. But in vendor/magento/module-google-tag-manager/view/frontend/templates/js.phtml there's a for each that uses product_list. The value category.products.list should also be used in js.phtml. This is the correct name of the block.

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