if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "37985",
"name": "Bontrager Aeolus RSL TLR Road Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48770",
"name": "Pirelli P Zero TLR RS Road Bike Tyre",
"price": "144.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25926",
"name": "Bontrager R3 Hard-Case Lite TLR Road Tyre",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23611",
"name": "Bontrager GR2 Team Issue Gravel Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24706",
"name": "Bontrager GR1 Team Issue Gravel Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38184",
"name": "Pirelli P ZERO Race TLR Road Tyre",
"price": "134.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "brown_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40458",
"name": "Continental Grand Prix 5000 S TR Tubeless Road Tire",
"price": "119.99",
"brand": "Continental Tire",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "38203",
"name": "Pirelli Cinturato Velo TLR Road Tyre",
"price": "109.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}