Below image is an exmple of a cart page where we have a cart object containing the product data. Similarly I want to know which object is having the product data on PDP page and I need to test that on DevTools → consle similar to the below page -
Is dataLayer something provided by VTEX or by Google Tag Manager. Becuase if it is part of Google Tag Manager, then my organization is not willing put any dependency on 3rd party. What if client decided to remove GTM from their VTEX page?
If dataLayer is part of VTEX product then, I believe I can use that.
I assume you are using VTEX IO, if so…
What product information do you need to display?