if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "40894",
"name": "Allant+ 7 Lowstep",
"price": "6499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28308",
"name": "Verve+ 2 Lowstep Gen 2",
"price": "4199.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36397",
"name": "Dual Sport+ 2 Stagger",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36396",
"name": "Dual Sport+ 2",
"price": "3499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36826",
"name": "Dual Sport 3 Gen 5",
"price": "1599.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "1199.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35104",
"name": "Dual Sport 3 Gen 4",
"price": "1049.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32734",
"name": "Verve 2 Disc Lowstep",
"price": "849.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35044",
"name": "Dual Sport 2 Gen 4",
"price": "849.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36454",
"name": "Verve 2 Lowstep",
"price": "799.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "green",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger",
"price": "599.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep",
"price": "599.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}