if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "32806",
"name": "Santini Trek-Segafredo Team Lifestyle Hoodie",
"price": "139.99",
"brand": "Santini",
"category": "Trek-Segafredo team apparel",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37089",
"name": "Trek Avert Women's Mountain Bike Rain Jacket",
"price": "199.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36064",
"name": "Trek Circuit Women's Rain Cycling Jacket",
"price": "99.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36062",
"name": "Trek Circuit Women's Softshell Cycling Jacket",
"price": "124.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37367",
"name": "Trek Circuit Women's Thermal Long Sleeve Cycling Jersey",
"price": "99.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36060",
"name": "Trek Circuit Women's Thermal Unpadded Cycling Tight",
"price": "74.99",
"brand": "Trek",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36067",
"name": "Trek Circuit Women's Windshell Cycling Jacket",
"price": "79.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}