if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "45332",
"name": "Santini Lidl-Trek Replica Race Bib Shorts",
"price": "87.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45331",
"name": "Santini Lidl-Trek Replica Race Jersey",
"price": "63.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40152",
"name": "Santini Trek-Segafredo Men's Team Polo",
"price": "24.99",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}