Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34874",
"name": "Electra Safety Front Bike Light",
"price": "",
"brand": "Electra",
"category": "Bike lights",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "25645",
"name": "Electra Swingo XE E-bike Front Bike Light",
"price": "",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "29398",
"name": "Electra Retro Headlight",
"price": "",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "33449",
"name": "Electra LED Basket Front Bike Light",
"price": "",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "12861",
"name": "Electra Amsterdam Royal 8i Front Bike Light",
"price": "",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "31091",
"name": "Spanninga Axendo XE 80 E-bike Front Bike Light",
"price": "",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}