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