if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44484",
"name": "Bontrager Betasso RSL GX TLR Gravel Tyre",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45432",
"name": "Bontrager Girona Pro TLR Gravel Tyre",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23611",
"name": "Bontrager GR2 Team Issue Gravel Tyre",
"price": "90.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24706",
"name": "Bontrager GR1 Team Issue Gravel Tyre",
"price": "90.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46160",
"name": "Pirelli P ZERO Race TLR Road Tyre",
"price": "105.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_brown",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37430",
"name": "Bontrager GR0 Comp Gravel Tire",
"price": "50.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "26804",
"name": "Bontrager GR1 Comp Gravel Tyre",
"price": "50.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}