Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "97.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45286",
"name": "Electra Ponto Go! Rear Light",
"price": "31.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25656",
"name": "Electra Nr.9 XE E-bike Rear Bike Light",
"price": "29.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 3
}
,
{
"id": "28142",
"name": "Electra Pixeo XD Dynamo Fender Mount 2800mm Rear Bike Light",
"price": "25.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "red_black",
"list": "More Options",
"position": 4
}
,
{
"id": "33562",
"name": "Electra Safety Rear Bike Light",
"price": "23.93",
"brand": "Electra",
"category": "Bike lights",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "31092",
"name": "Spanninga Presto EX Guard E-bike Rear Bike Light",
"price": "19.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}