Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41741",
"name": "Capas para sapatos Trek Softshell",
"price": "59.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41740",
"name": "Capa para biqueira dos sapatos Trek Windshell",
"price": "19.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "48909",
"name": "Capas de sapatos de inverno Rapha",
"price": "75.0",
"brand": "Rapha",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "48908",
"name": "Capas de sapatos para tempo molhado Rapha",
"price": "63.0",
"brand": "Rapha",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14774",
"name": "Cobertura de Sapatos de Ciclismo Bontrager Halo S1 Softshell",
"price": "52.49",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "25046",
"name": "Capa Impermeável para Calçado de Ciclismo Bontrager",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14775",
"name": "Cobertura de Sapatos de Ciclismo Bontrager S1 Softshell",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}