if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "36024",
"name": "Trek Solstice Mips Bike Helmet",
"price": "1300.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41744",
"name": "Trek Circuit Windshell Cycling Gloves",
"price": "1000.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}
-
-
-
Ride it and love it, or we'll take it back
Learn more