if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41658",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "12999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41653",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "8999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41524",
"name": "Fuel EXe 9.7",
"price": "6999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "10999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36369",
"name": "Fuel EXe 9.8 XT",
"price": "13499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36363",
"name": "Fuel EXe 9.5",
"price": "9999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36427",
"name": "Fuel EXe 9.7",
"price": "6999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}