if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "26592",
"name": "Trek T-Shirt",
"price": "",
"brand": "Trek",
"category": "T-Shirts",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22615",
"name": "Trek Waterloo Women's T-shirt",
"price": "",
"brand": "Trek",
"category": "T-Shirts",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22444",
"name": "Trek UCI World Cup Waterloo T-Shirt",
"price": "",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23442",
"name": "Santini Trek-Segafredo Women's Team T-shirt",
"price": "",
"brand": "Santini",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40149",
"name": "Santini Trek-Segafredo Women's Team T-Shirt",
"price": "",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40146",
"name": "Santini Trek-Segafredo Men's Team T-Shirt",
"price": "",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40152",
"name": "Santini Trek-Segafredo Men's Team Polo",
"price": "",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "23053",
"name": "Trek Pit Bucket Hat",
"price": "",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32805",
"name": "Santini Trek-Segafredo Men's Team Tech Tee",
"price": "",
"brand": "Santini",
"category": "Trek-Segafredo team apparel",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}