I'm want to get variable "priceWithVatMin" and "priceWithVatMax" from Javascript "array"
<script>
dataLayer = [];
dataLayer.push({'shoptet' : {
"pageType": "productDetail",
"product": {
"id": 2148,
"name": "iPhone 7 Plus 32GB Black",
"currency": "CZK",
"priceWithVatMin": 12899,
"priceWithVatMax": 13599
}
i want some like write in console this variable e.g -> console.log(?)
Thanks lot :-)