if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "49691",
"name": "Trek Right Stacked Unisex Hoodie",
"price": "75.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greenlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49118",
"name": "Trek Left Stacked Unisex Hoodie",
"price": "75.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36293",
"name": "Trek Vintage Logo Hoodie",
"price": "80.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37320",
"name": "Trek Go By Bike Hoodie",
"price": "80.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36294",
"name": "Trek Original Hoodie",
"price": "79.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck Unisex Sweatshirt",
"price": "71.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41978",
"name": "Trek Fun Badge Unisex Hoodie",
"price": "71.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "reddark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "71.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "71.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37316",
"name": "Trek 80s Fade Hoodie",
"price": "45.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36295",
"name": "Trek Original Crewneck Sweatshirt",
"price": "45.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37319",
"name": "Trek Script Crewneck Sweatshirt",
"price": "45.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37321",
"name": "Trek Bicycle Co. Lightweight Hoodie",
"price": "41.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "34760",
"name": "Trek USA Stamp Langarmshirt",
"price": "35.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "34749",
"name": "Trek Bicycle Script Hoodie",
"price": "62.0",
"brand": "BCycle",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}