if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "48606",
"name": "Rapha Women's Pro Team Lightweight Long Sleeve Cycling Jersey",
"price": "230.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "brown",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36062",
"name": "Trek Circuit Women's Softshell Cycling Jacket",
"price": "139.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36067",
"name": "Trek Circuit Women's Windshell Cycling Jacket",
"price": "119.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47354",
"name": "Rapha Women's Core Winter Cycling Jacket",
"price": "250.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47314",
"name": "Rapha Women's Core II Cycling Rain Jacket",
"price": "235.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}