if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "90408",
"name": "Trek White/Dark Logo Pro Sweatshirt",
"price": "",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "90406",
"name": "Trek Dark/Dark Logo Pro T-Shirt",
"price": "",
"brand": "Trek",
"category": "T-Shirts",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "90410",
"name": "Trek Classic Logo Pro Collar Polo",
"price": "",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "57020",
"name": "Trek Monochromatic T-shirt",
"price": "",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "80796",
"name": "Fox Racing Trek x Unbroken Team T-shirt",
"price": "",
"brand": "Fox Racing",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}