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