if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "47318",
"name": "Rapha Brevet Cycling Gilet",
"price": "250.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47315",
"name": "Rapha Pro Team Lightweight Cycling Gilet",
"price": "220.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "179.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47317",
"name": "Rapha Women's Core Cycling Gilet",
"price": "160.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47316",
"name": "Rapha Core Cycling Gilet",
"price": "160.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14821",
"name": "Bontrager Circuit Cycling Wind Vest",
"price": "129.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "27591",
"name": "Santini Trek-Segafredo Team Lifestyle Vest",
"price": "299.95",
"brand": "Santini",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}