if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "45272",
"name": "Trek Foray Mountain Bike Shoe",
"price": "320.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33009",
"name": "Bontrager Comp Toe Spike Kit",
"price": "30.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}
-
-
-
Ride it and love it, or we'll take it back
Learn more