if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "DKK", "impressions": [ { "id": "26949", "name": "Townie Path Go! 10D EQ Lav indstigning", "price": "22399.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue", "list": "CATEGORY", "position": 1 } , { "id": "29099", "name": "Townie Path Go! 5i lav indstigning", "price": "22399.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "greendark", "list": "CATEGORY", "position": 2 } , { "id": "26950", "name": "Townie Path Go! 10D EQ med lav på-/afstigning", "price": "22399.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "greendark", "list": "CATEGORY", "position": 3 } , { "id": "34901", "name": "Townie Commute Go! 5i EQ med lav på-/afstigning", "price": "20799.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "orange", "list": "CATEGORY", "position": 4 } , { "id": "34900", "name": "Townie Commute Go! 5i EQ med alm. overrør", "price": "20799.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "33005", "name": "Townie Go! 5i EQ med alm. overrør", "price": "19199.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "greendark", "list": "CATEGORY", "position": 6 } , { "id": "33006", "name": "Townie Go! 5i EQ med lav på-/afstigning", "price": "19199.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "orange", "list": "CATEGORY", "position": 7 } , { "id": "35213", "name": "Bali Cruiser Go!", "price": "12799.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "tan", "list": "CATEGORY", "position": 8 } , { "id": "35209", "name": "Cruiser Go! med lav på-/afstigning", "price": "10999.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "white", "list": "CATEGORY", "position": 9 } , { "id": "35211", "name": "Shibori Cruiser Go!", "price": "10999.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue_white", "list": "CATEGORY", "position": 10 } , { "id": "35208", "name": "Cruiser Go! med alm. overrør", "price": "10999.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "33340", "name": "Loft Go! 5i EQ med lav på-/afstigning 500 Wh", "price": "19999.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "tan", "list": "CATEGORY", "position": 12 } , { "id": "34791", "name": "Loft Go! 5i EQ med lav på-/afstigning 400 Wh", "price": "18399.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "36416", "name": "Loft Go! 7D EQ med alm. overrør", "price": "12799.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "blue", "list": "CATEGORY", "position": 14 } , { "id": "36417", "name": "Loft Go! 7D EQ lav indstigning", "price": "12799.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "pinklight", "list": "CATEGORY", "position": 15 } , { "id": "17003", "name": "Loft 7i med lav på-/afstigning", "price": "3599.0", "brand": "Electra", "category": "Loft", "variant": "blue", "list": "CATEGORY", "position": 16 } , { "id": "24531", "name": "Loft 7D EQ Lav indstigning", "price": "3299.0", "brand": "Electra", "category": "Loft", "variant": "white", "list": "CATEGORY", "position": 17 } , { "id": "16810", "name": "Loft 7D med lav på-/afstigning", "price": "2899.0", "brand": "Electra", "category": "Loft", "variant": "red", "list": "CATEGORY", "position": 18 } , { "id": "33463", "name": "Ghostrider Go! 5i", "price": "19199.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "33179", "name": "Ace of Spades Go! 5i", "price": "19199.0", "brand": "Electra", "category": "Electra e-bikes", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "24533", "name": "7i EQ Lav indstigning", "price": "3999.0", "brand": "Electra", "category": "Loft", "variant": "blue", "list": "CATEGORY", "position": 21 } ] } }); } else { console.log("dataLayer"); }