if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "41346",
"name": "Fuel EX 5 Gen 6",
"price": "4299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41327",
"name": "Fuel EX 8 XT Gen 6",
"price": "6499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47249",
"name": "Fuel EX 9.9 XX AXS T-Type Gen 6",
"price": "19499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47248",
"name": "Fuel EX 9.9 X0 AXS T-Type Gen 6",
"price": "16499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41573",
"name": "Fuel EX 9.8 XT Gen 6",
"price": "11299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41572",
"name": "Fuel EX 9.8 GX AXS T-Type Gen 6",
"price": "10499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41576",
"name": "Fuel EX 9.9 X0 AXS T-Type Gen 6",
"price": "16499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36954",
"name": "Fuel EX 9.9 XTR Gen 6",
"price": "14499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36953",
"name": "Fuel EX 9.8 GX AXS Gen 6",
"price": "12699.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36358",
"name": "Fuel EX 9.8 XT Gen 6",
"price": "9499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36348",
"name": "Fuel EX 8 Gen 6",
"price": "6499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33073",
"name": "Fuel EX 5 Gen 5",
"price": "4299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}