Yleistä
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26949",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "2919.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "More Options",
"position": 1
}
,
{
"id": "29099",
"name": "Townie Path Go! 5i Step-Thru",
"price": "2919.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "26950",
"name": "Townie Path Go! 10D EQ Step-Thru",
"price": "2919.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 3
}
,
{
"id": "34900",
"name": "Townie Commute Go! 5i EQ Step-Over",
"price": "2709.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34901",
"name": "Townie Commute Go! 5i EQ Step-Thru",
"price": "2709.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "More Options",
"position": 5
}
,
{
"id": "33005",
"name": "Townie Go! 5i EQ Step-Over",
"price": "2499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 6
}
,
{
"id": "33006",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "2499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "More Options",
"position": 7
}
,
{
"id": "35213",
"name": "Bali Cruiser Go!",
"price": "1669.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "More Options",
"position": 8
}
,
{
"id": "35208",
"name": "Cruiser Go! Step-Over",
"price": "1459.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35211",
"name": "Shibori Cruiser Go!",
"price": "1459.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue_white",
"list": "More Options",
"position": 10
}
,
{
"id": "33340",
"name": "Loft Go! 5i EQ Step-Thru 500 Wh",
"price": "2599.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "More Options",
"position": 11
}
,
{
"id": "34791",
"name": "Loft Go! 5i EQ Step-Thru 400 Wh",
"price": "2399.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "36416",
"name": "Loft Go!7D EQ Step-Over",
"price": "1669.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "More Options",
"position": 13
}
,
{
"id": "36417",
"name": "Loft Go! 7D EQ Step-Thru",
"price": "1669.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "More Options",
"position": 14
}
,
{
"id": "33463",
"name": "Ghostrider Go! 5i",
"price": "2499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "33179",
"name": "Ace of Spades Go! 5i",
"price": "2499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}