I am implementing gtm and I want to added data layer when user click on product from catalog, search result or related product. Data layer will be like this
{ "data": { "action": "category", "product": { "sku": "product sku", "name": "product name" } } }
Is there any way how can I catch product click event?