if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "25044",
"name": "Bontrager Windshell Cycling Balaclava",
"price": "60.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41738",
"name": "Trek Windshell Cycling Balaclava",
"price": "55.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25037",
"name": "Bontrager Thermal Cycling Cap",
"price": "50.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41737",
"name": "Trek Windshell Cycling Cap",
"price": "50.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25036",
"name": "Bontrager Windshell Cycling Skull Cap",
"price": "50.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41739",
"name": "Trek Thermal Cycling Neck Gaiter",
"price": "45.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41238",
"name": "Trek Cotton Cycling Cap",
"price": "40.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41736",
"name": "Trek Windshell Cycling Skull Cap",
"price": "40.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41237",
"name": "Trek UV Sunstop Cycling Skull Cap",
"price": "40.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41735",
"name": "Trek Thermal Cycling Headband",
"price": "35.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "30.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}