Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "45013",
"name": "e*thirteen TQ Aluminum Direct Mount Chainring",
"price": "800.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33043",
"name": "e*thirteen Bosch Gen 4 52/53 Direct Mount Chainring",
"price": "740.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "33042",
"name": "e*thirteen Bosch Gen 4 Aluminum Direct Mount Chainring",
"price": "660.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45084",
"name": "e*thirteen Bosch Gen 4 53/55 Direct Mount Chainring",
"price": "610.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44881",
"name": "e*Thirteen e*Spec Aluminum Chainring for Trek E-Caliber",
"price": "530.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "30928",
"name": "Trek-Diamant E-bike Bosch 2 Boost Chainring",
"price": "475.0",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "45289",
"name": "FSA TQ Equipped Trek Fuel EXe Crank Spider",
"price": "404.0",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}