if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44098",
"name": "Trek Solstice Youth Bike Helmet Visor",
"price": "15.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44094",
"name": "Trek Solstice Bike Helmet Visor",
"price": "15.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44099",
"name": "Trek Solstice Children's Bike Helmet Visor",
"price": "15.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33564",
"name": "Bontrager Rally WaveCel Bike Helmet Visor",
"price": "34.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28844",
"name": "Bontrager Blaze WaveCel Bike Helmet Visor",
"price": "34.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14157",
"name": "Bontrager Quantum Mips Bike Helmet Visor",
"price": "24.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32638",
"name": "Bontrager Tyro Youth Bike Helmet Visor",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32637",
"name": "Bontrager Tyro Children's Bike Helmet Visor",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "22680",
"name": "Bontrager NeoVisor Bike Helmet Visor",
"price": "18.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}