if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "46146",
"name": "Top Fuel 9.9 XX AXS Gen 4",
"price": "18499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS Gen 4",
"price": "15499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49364",
"name": "Top Fuel 9.9 XTR Gen 4",
"price": "14999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "gold",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT Gen 4",
"price": "10599.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS Gen 4",
"price": "7499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "4499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41647",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "10999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41378",
"name": "Top Fuel 5 Gen 3",
"price": "3999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36789",
"name": "Top Fuel 8 Gen 3",
"price": "3499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "11699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "8699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "4499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "2699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}