if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "47354",
"name": "Rapha Women's Core Winter Cycling Jacket",
"price": "150.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47314",
"name": "Rapha Women's Core II Cycling Rain Jacket",
"price": "140.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36064",
"name": "Trek Circuit Women's Rain Cycling Jacket",
"price": "109.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36062",
"name": "Trek Circuit Women's Softshell Cycling Jacket",
"price": "89.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36067",
"name": "Trek Circuit Women's Windshell Cycling Jacket",
"price": "63.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24715",
"name": "Bontrager Velocis Women's Softshell Cycling Jacket",
"price": "51.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}