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