if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "MXN", "impressions": [ { "id": "34651", "name": "Maillot Trek Circuit", "price": "2419.0", "brand": "Trek", "category": "Road bike jerseys", "variant": "white", "list": "CATEGORY", "position": 1 } , { "id": "34654", "name": "Maillot para damas Trek Solstice", "price": "1579.0", "brand": "Trek", "category": "Road bike jerseys", "variant": "pinklight", "list": "CATEGORY", "position": 2 } , { "id": "34653", "name": "Maillot Trek Solstice", "price": "1579.0", "brand": "Trek", "category": "Road bike jerseys", "variant": "yellowvisibility", "list": "CATEGORY", "position": 3 } , { "id": "37097", "name": "Guante para Ciclismo Unisex Trek Circuit Twin Gel", "price": "949.0", "brand": "Trek", "category": "Fingerless cycling gloves", "variant": "red", "list": "CATEGORY", "position": 4 } , { "id": "37099", "name": "Guante Solstice Trek Unisex para Ciclismo de Gel", "price": "749.0", "brand": "Trek", "category": "Fingerless cycling gloves", "variant": "yellowvisibility", "list": "CATEGORY", "position": 5 } , { "id": "36064", "name": "Chamarra de Ciclismo para Lluvia para Damas Trek Circuit", "price": "4359.0", "brand": "Trek", "category": "Cycling jackets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 6 } , { "id": "36061", "name": "Chamarra de Ciclismo Trek Circuit Softshell", "price": "4359.0", "brand": "Trek", "category": "Cycling jackets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 7 } , { "id": "36062", "name": "Chamarra de Ciclismo Softshell para Damas de Trek Circuit", "price": "4359.0", "brand": "Trek", "category": "Cycling jackets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 8 } , { "id": "36063", "name": "Chamarra de Ciclismo para Lluvia Trek Circuit", "price": "4359.0", "brand": "Trek", "category": "Cycling jackets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 9 } , { "id": "41235", "name": "Cubrebrazos para Ciclismo Trek UV Sunstop", "price": "759.0", "brand": "Trek", "category": "Cycling arm & leg warmers", "variant": "yellowvisibility", "list": "CATEGORY", "position": 10 } , { "id": "36532", "name": "Calcetines de ciclismo Trek Race Reflective Crew", "price": "609.0", "brand": "Trek", "category": "Men's cycling socks", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "36533", "name": "Calcetines de ciclismo Trek Race Quarter", "price": "249.0", "brand": "Trek", "category": "Men's cycling socks", "variant": "yellowvisibility", "list": "CATEGORY", "position": 12 } , { "id": "14962", "name": "Jersey de Ciclismo Bontrager Circuit", "price": "499.0", "brand": "Bontrager", "category": "Road bike jerseys", "variant": "bluedark_black", "list": "CATEGORY", "position": 13 } , { "id": "14966", "name": "Jersey de Ciclismo Bontrager Anara para damas", "price": "499.0", "brand": "Bontrager", "category": "Road bike jerseys", "variant": "green", "list": "CATEGORY", "position": 14 } , { "id": "25365", "name": "Casco para Bici de Carrera Bontrager XXX WaveCel", "price": "3149.0", "brand": "Bontrager", "category": "Bike helmets", "variant": "red", "list": "CATEGORY", "position": 15 } , { "id": "25032", "name": "Calentadores de piernas térmicos para ciclismo Bontrager", "price": "1025.0", "brand": "Bontrager", "category": "Cycling arm & leg warmers", "variant": "yellowvisibility", "list": "CATEGORY", "position": 16 } , { "id": "14775", "name": "Cubierto para Zapato de Ciclismo Bontrager S1 Softshell", "price": "839.0", "brand": "Bontrager", "category": "Cycling booties & toe covers", "variant": "yellowvisibility", "list": "CATEGORY", "position": 17 } ] } }); } else { console.log("dataLayer"); }