Übersicht
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": "More Options",
"position": 1
}
,
{
"id": "49118",
"name": "Trek Left Stacked Unisex Hoodie",
"price": "75.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36293",
"name": "Trek Vintage Logo Hoodie",
"price": "80.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37320",
"name": "Trek Go By Bike Hoodie",
"price": "80.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36294",
"name": "Trek Original Hoodie",
"price": "79.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck Unisex Sweatshirt",
"price": "71.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "More Options",
"position": 6
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "71.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 7
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "71.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "More Options",
"position": 8
}
,
{
"id": "36295",
"name": "Trek Original Crewneck Sweatshirt",
"price": "45.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "37316",
"name": "Trek 80s Fade Hoodie",
"price": "45.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 10
}
,
{
"id": "37319",
"name": "Trek Script Crewneck Sweatshirt",
"price": "45.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "More Options",
"position": 11
}
,
{
"id": "37321",
"name": "Trek Bicycle Co. Lightweight Hoodie",
"price": "41.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 12
}
,
{
"id": "34760",
"name": "Trek USA Stamp Langarmshirt",
"price": "35.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "34749",
"name": "Trek Bicycle Script Hoodie",
"price": "62.0",
"brand": "BCycle",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}