if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "41527",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "47899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36991",
"name": "Rail 7 Gen 3",
"price": "38399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36990",
"name": "Rail 5 625 W Gen 3",
"price": "35199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41662",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "66249.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37015",
"name": "Rail 9.7 Gen 4",
"price": "43249.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41679",
"name": "Rail 9.5 Gen 4",
"price": "38449.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41579",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "90349.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37027",
"name": "Rail 9.8 XT Gen 4",
"price": "62549.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36992",
"name": "Rail 9 Gen 3",
"price": "60199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37066",
"name": "Rail 9.9 XTR Gen 4",
"price": "90549.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}