Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44883",
"name": "Praxis Carbon Road Crankset for Domane+ LT",
"price": "800.0",
"brand": "Praxis",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34022",
"name": "Trek-Diamant 42T 10/11/12 Speed Aluminum Black Crankset",
"price": "193.0",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44884",
"name": "FSA Fazua Domane+ LT Crank Arms",
"price": "70.0",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}