Yleistä
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26737",
"name": "Electra Amsterdam Fender Strut Set",
"price": "24.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "44689",
"name": "Electra Loft Go! 7D Rear Lower Fender Strut",
"price": "17.49",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "44690",
"name": "Electra Loft Go! 7D Rear Upper Fender Strut",
"price": "17.49",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "33523",
"name": "Electra Vale Go! Rear Fender Strut",
"price": "10.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "37152",
"name": "Electra 27.5" Cruiser Go! Rear Fender Stay",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "37150",
"name": "Electra 26" Cruiser Go! & Townie Go! 7D Front Fender Stay",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "37153",
"name": "Electra 26" Cruiser Go! Rear Fender Stay",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "37151",
"name": "Electra 27.5" Townie Go! 7D Rear Fender Stay",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "37149",
"name": "Electra 27.5" Cruiser Go! & Townie Go! 7D Front Fender Stay",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "37154",
"name": "Electra 26" Townie Go! 7D Rear Fender Stay",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 10
}
,
{
"id": "25431",
"name": "Electra 26" Cruiser 330mm Rear Fender Stay & Toggle",
"price": "6.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "grey",
"list": "More Options",
"position": 11
}
,
{
"id": "25430",
"name": "Electra 26" Cruiser 355mm Front Fender Stay & Toggle",
"price": "4.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "grey",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}