if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "EUR", "impressions": [ { "id": "47530", "name": "Checkpoint ALR 3", "price": "1369.0", "brand": "Trek", "category": "Gravel bikes", "variant": "red", "list": "CATEGORY", "position": 1 } , { "id": "47073", "name": "Checkpoint SL 7 AXS Gen 3", "price": "6849.0", "brand": "Trek", "category": "Gravel bikes", "variant": "bronze_grey", "list": "CATEGORY", "position": 2 } , { "id": "47072", "name": "Checkpoint SL 6 AXS Gen 3", "price": "4849.0", "brand": "Trek", "category": "Gravel bikes", "variant": "blue_bluedark", "list": "CATEGORY", "position": 3 } , { "id": "47071", "name": "Checkpoint SL 5 AXS Gen 3", "price": "4219.0", "brand": "Trek", "category": "Gravel bikes", "variant": "black_grey", "list": "CATEGORY", "position": 4 } , { "id": "46765", "name": "Checkpoint SL Gen 3 -runkosarja", "price": "2849.0", "brand": "Trek", "category": "Gravel bikes", "variant": "bronze_grey", "list": "CATEGORY", "position": 5 } , { "id": "41640", "name": "Checkpoint ALR 5", "price": "2639.0", "brand": "Trek", "category": "Gravel bikes", "variant": "tealdark", "list": "CATEGORY", "position": 6 } , { "id": "41513", "name": "Checkpoint ALR 4", "price": "1579.0", "brand": "Trek", "category": "Gravel bikes", "variant": "bluedark", "list": "CATEGORY", "position": 7 } , { "id": "35668", "name": "Checkpoint ALR -runkosarja", "price": "1259.0", "brand": "Trek", "category": "Gravel bikes", "variant": "reddark", "list": "CATEGORY", "position": 8 } , { "id": "46152", "name": "Checkmate SLR 9 AXS", "price": "10999.0", "brand": "Trek", "category": "Gravel bikes", "variant": "greendark_greenlight", "list": "CATEGORY", "position": 9 } , { "id": "46692", "name": "Checkmate SLR 7 AXS", "price": "8999.0", "brand": "Trek", "category": "Gravel bikes", "variant": "greendark_greenlight", "list": "CATEGORY", "position": 10 } , { "id": "49169", "name": "Checkmate SLR 8 AXS", "price": "8999.0", "brand": "Trek", "category": "Gravel bikes", "variant": "greendark_greenlight", "list": "CATEGORY", "position": 11 } , { "id": "46763", "name": "Checkmate SLR -runkosarja", "price": "3499.0", "brand": "Trek", "category": "Gravel bikes", "variant": "black_grey", "list": "CATEGORY", "position": 12 } , { "id": "41394", "name": "Checkpoint SL 7 AXS Gen 2", "price": "6769.0", "brand": "Trek", "category": "Gravel bikes", "variant": "black_grey", "list": "CATEGORY", "position": 13 } , { "id": "41397", "name": "Checkpoint SL 6 AXS Gen 2", "price": "4789.0", "brand": "Trek", "category": "Gravel bikes", "variant": "greenlight", "list": "CATEGORY", "position": 14 } , { "id": "41398", "name": "Checkpoint SL 5 Gen 2", "price": "3849.0", "brand": "Trek", "category": "Gravel bikes", "variant": "orange", "list": "CATEGORY", "position": 15 } , { "id": "35076", "name": "Checkpoint SL -runkosarja", "price": "2809.0", "brand": "Trek", "category": "Gravel bikes", "variant": "blue_grey", "list": "CATEGORY", "position": 16 } , { "id": "22632", "name": "Checkpoint SL 5", "price": "3149.0", "brand": "Trek", "category": "Gravel bikes", "variant": "grey", "list": "CATEGORY", "position": 17 } , { "id": "35293", "name": "Checkpoint SLR 6 AXS", "price": "7999.0", "brand": "Trek", "category": "Gravel bikes", "variant": "yellow_bluedark", "list": "CATEGORY", "position": 18 } , { "id": "48021", "name": "Domane SLR 9 AXS Gen 4", "price": "11999.0", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 19 } , { "id": "49167", "name": "Domane SLR 8 AXS Gen 4", "price": "8999.0", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 20 } , { "id": "47132", "name": "Domane SL 7 Gen 4", "price": "6849.0", "brand": "Trek", "category": "Performance road bikes", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "47131", "name": "Domane SL 6 Gen 4", "price": "4739.0", "brand": "Trek", "category": "Performance road bikes", "variant": "bluedark", "list": "CATEGORY", "position": 22 } , { "id": "41481", "name": "Domane + SLR 7 AXS", "price": "9599.0", "brand": "Trek", "category": "Electric road bikes", "variant": "greendark", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }