if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44112",
"name": "Trek Velocis Mips Helmet Fit System",
"price": "42.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44940",
"name": "Trek Ballista Mips Helmet Fit System",
"price": "40.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44096",
"name": "Trek Bike Helmet Fit System - Headmaster 3",
"price": "30.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37951",
"name": "Bontrager Circuit WaveCel BOA Helmet Fit System",
"price": "36.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22617",
"name": "Bontrager Velocis Mips BOA Bike Helmet Fit System",
"price": "62.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22317",
"name": "Bontrager BOA Bike Helmet Fit System",
"price": "62.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28845",
"name": "Bontrager WaveCel BOA Bike Helmet Fit System",
"price": "53.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32639",
"name": "Bontrager Dialled Bike Helmet Fit System",
"price": "33.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33637",
"name": "Bontrager Jet WaveCel Bike Helmet Fit System",
"price": "24.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32635",
"name": "Bontrager Quickset II Bike Helmet Fit System",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}