if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "13022",
"name": "Bontrager Circuit Cycling Shorts",
"price": "41.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34850",
"name": "Santini Trek-Segafredo Women's Team Replica Shorts",
"price": "27.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13032",
"name": "Bontrager Solstice Cycling Shorts",
"price": "23.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27179",
"name": "Bontrager Solstice Women's Cycling Shorts",
"price": "23.99",
"brand": "Bontrager",
"category": "Women's cycling apparel",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}