if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "40638",
"name": "Trek Fade Women's T-Shirt",
"price": "179.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40637",
"name": "Trek Fade Unisex T-Shirt",
"price": "179.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41980",
"name": "Trek Oh Deer Beanie",
"price": "179.0",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40639",
"name": "Trek Check Script Unisex T-Shirt",
"price": "179.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36533",
"name": "Trek Race Quarter cykelstrumpa",
"price": "179.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37329",
"name": "Trek Bike People t-shirt i dammodell",
"price": "150.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "26593",
"name": "Trek t-shirt i dammodell",
"price": "125.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greydark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}