if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "31851",
"name": "Trek Domane SLR IsoSpeed Seatmast Bumper",
"price": "25.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44957",
"name": "Bontrager Line 31.6mm Gen 3 Dropper Travel Reducing Spacer",
"price": "22.5",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32429",
"name": "Trek Madone SLR Seatpost Reflector Mounting Bolt",
"price": "15.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42264",
"name": "Trek-Diamant Ergotec PM-705N 90-110kg Suspension Seatpost",
"price": "1449.0",
"brand": "Trek-Diamant",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12689",
"name": "Electra-sadelklampe med quick release",
"price": "139.0",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25889",
"name": "31,8 mm Electra-sadelpindklampe med bagagebærerbeslag",
"price": "90.0",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12688",
"name": "28,6 mm Electra-sadelpindklampe med bagagebærerbeslag",
"price": "90.0",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}