Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41738",
"name": "Trek Windshell Cycling Balaclava",
"price": "39.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47330",
"name": "Rapha Cycling Cap II",
"price": "35.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47331",
"name": "Rapha Trail 6 Panel Cap",
"price": "35.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41736",
"name": "Trek Windshell Cycling Skull Cap",
"price": "34.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25037",
"name": "Bontrager Thermal Cycling Cap",
"price": "34.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41737",
"name": "Trek Windshell Cycling Cap",
"price": "34.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41238",
"name": "Trek Cotton Cycling Cap",
"price": "29.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "41739",
"name": "Trek Thermal Cycling Neck Gaiter",
"price": "29.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "46738",
"name": "Santini Lidl-Trek Team Podium Hat",
"price": "29.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 9
}
,
{
"id": "41237",
"name": "Trek UV Sunstop Cycling Skull Cap",
"price": "24.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "More Options",
"position": 10
}
,
{
"id": "46743",
"name": "Santini Lidl-Trek Team Cycling Neck Gaiter",
"price": "24.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 11
}
,
{
"id": "41735",
"name": "Trek Thermal Cycling Headband",
"price": "24.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "25044",
"name": "Bontrager Windshell Cycling Balaclava",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "46737",
"name": "Santini Lidl-Trek Team Replica Cycling Cap",
"price": "19.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 14
}
,
{
"id": "25036",
"name": "Bontrager Windshell Cycling Skull Cap",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "22822",
"name": "Bontrager Classic Cycling Cap",
"price": "9.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "More Options",
"position": 16
}
,
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "9.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"id": "44127",
"name": "Santini Trek-Segafredo Team Replica Cycling Cap",
"price": "9.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "More Options",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}