if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "47355",
"name": "Rapha Women's Core Winter Cycling Bib Tights",
"price": "140.0",
"brand": "Rapha",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47342",
"name": "Rapha Core Winter Cycling Bib Tight",
"price": "140.0",
"brand": "Rapha",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36057",
"name": "Trek Circuit Softshell Cycling Bib Tights",
"price": "119.99",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36058",
"name": "Trek Circuit Thermal Cycling Bib Tight",
"price": "89.99",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36059",
"name": "Trek Circuit Thermal Unpadded Cycling Tight",
"price": "59.99",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36060",
"name": "Trek Circuit Women's Thermal Unpadded Cycling Tight",
"price": "47.99",
"brand": "Trek",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45050",
"name": "100% Airmatic Mountain Bike Pants",
"price": "89.99",
"brand": "100%",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}