if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "40927",
"name": "Wahoo 20 Path",
"price": "3599.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "5999.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41014",
"name": "Wahoo 20 Trail",
"price": "5799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "4199.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "3999.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36846",
"name": "Precaliber 24 8-Speed Supension",
"price": "2999.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36268",
"name": "Precaliber 20 med 7 gear",
"price": "2799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "2399.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36271",
"name": "Precaliber 20 Freewheel",
"price": "2399.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "2199.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "17476",
"name": "Kickster",
"price": "1424.25",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}