Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37084",
"name": "Calções de Montanha Trek Evoke",
"price": "79.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37085",
"name": "Calções de Montanha Trek Evoke Mulher",
"price": "79.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37090",
"name": "Calções Interiores Trek Troslo",
"price": "31.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37091",
"name": "Calções Interiores Trek Troslo Mulher",
"price": "31.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44139",
"name": "Calções com Alças da Equipa Feminina Santini Trek Factory Racing XC Team Réplica",
"price": "79.99",
"brand": "Santini",
"category": "Mountain bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "34847",
"name": "Calções com Alças da Equipa Masculina Santini Trek Factory Racing XC Réplica",
"price": "36.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_bluelight",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}