if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "32739",
"name": "Trek Velocis Women's Cycling Bib Shorts",
"price": "169.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32747",
"name": "Trek Solstice Women's Cycling Shorts",
"price": "84.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41150",
"name": "Trek Rhythm Women's Mountain Bike Shorts",
"price": "69.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37085",
"name": "Trek Evoke Women's Mountain Bike Shorts",
"price": "89.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32745",
"name": "Trek Circuit Women's Cycling Shorts",
"price": "127.49",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32743",
"name": "Trek Circuit Women's Cycling Bib Shorts",
"price": "119.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}