Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41738",
"name": "Trek Windshell Cycling Balaclava",
"price": "24.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41737",
"name": "Trek Windshell Cycling Cap",
"price": "19.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41736",
"name": "Trek Windshell Cycling Skull Cap",
"price": "17.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "08591",
"name": "Bontrager Convertible Cycling Neck Gaiter",
"price": "15.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "46737",
"name": "Santini Lidl-Trek Team Replica Cycling Cap",
"price": "15.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 5
}
,
{
"id": "41735",
"name": "Trek Thermal Cycling Headband",
"price": "14.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "46743",
"name": "Santini Lidl-Trek Team Cycling Neck Gaiter",
"price": "11.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 7
}
,
{
"id": "27190",
"name": "Bontrager Adventure Cycling Cap",
"price": "7.5",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "grey",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}