if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "34654",
"name": "Trek Solstice Women's Cycling Jersey",
"price": "67.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37083",
"name": "Trek Evoke Women's Mountain Bike Tech Tee",
"price": "59.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37367",
"name": "Trek Circuit Women's Thermal Long Sleeve Cycling Jersey",
"price": "59.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "49.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34652",
"name": "Trek Circuit Women's LTD Cycling Jersey",
"price": "49.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35816",
"name": "Trek Circuit Women's Cycling Jersey",
"price": "49.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}