if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40639",
"name": "Trek Check Script Unisex T-Shirt",
"price": "17.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40640",
"name": "Trek Lake Dreams Unisex T-Shirt",
"price": "17.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33800",
"name": "Trek Go By Bike T-Shirt",
"price": "17.5",
"brand": "Trek",
"category": "T-Shirts",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36534",
"name": "Trek Race Crew fietssok",
"price": "16.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37329",
"name": "Trek Bike People dames T-Shirt",
"price": "15.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36533",
"name": "Trek Race Quarter fietssok",
"price": "14.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "26593",
"name": "Trek dames-T-shirt",
"price": "12.5",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}