Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "26601",
"name": "Eixo direto traseiro da alavanca Bontrager Switch",
"price": "230.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "26602",
"name": "Ferramenta de alavanca Bontrager Switch",
"price": "180.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45620",
"name": "Trek Thru-Skew",
"price": "90.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "27053",
"name": "SR Suntour QR-22 Skewer",
"price": "95.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}