Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "49062",
"name": "Trek TQ Rear Light Wire",
"price": "11.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "49060",
"name": "Trek TQ Front Light Wire",
"price": "9.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "27116",
"name": "Bontrager Lync Flare Rear Wire Light Harness",
"price": "6.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 3
}
,
{
"id": "23634",
"name": "Mando remoto inalámbrico Bontrager Transmitr Micro",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25371",
"name": "Cable USB de carga rápida Bontrager",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "37981",
"name": "Bontrager Lights USB Type-C Charge Cable",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "31843",
"name": "Bontrager 2020 E-bike Forklight Parts",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_greydark",
"list": "More Options",
"position": 7
}
,
{
"id": "32174",
"name": "Supernova M99 Y Cable Magura MTe Rear Bike Light Part",
"price": "39.99",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "21756",
"name": "Supernova Light Parts",
"price": "34.99",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "41207",
"name": "Supernova Bosch Smart System/BES3 Front Light Connection Cable",
"price": "34.99",
"brand": "SUPERNOVA",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "41839",
"name": "Electra Townie 7D Fender Hardware Set",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 11
}
,
{
"id": "29079",
"name": "Supernova M99 to Bontrager Elite Light Faceplate Bolt",
"price": "3.99",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "greylight",
"list": "More Options",
"position": 12
}
,
{
"id": "42250",
"name": "Electra PVC Light Wire Sleeve",
"price": "3.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}