if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "34652",
"name": "Trek Circuit Women's LTD Cycling Jersey",
"price": "38.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35815",
"name": "Trek RSL Cycling Jersey",
"price": "87.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "63.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14962",
"name": "Bontrager Circuit Cycling Jersey",
"price": "11.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14964",
"name": "Bontrager Solstice Cycling Jersey",
"price": "9.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}