Översikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "37593",
"name": "Electra Townie Go! 7D & Cruiser Go! Skärm monteringssats",
"price": "129.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "32653",
"name": "Electra Vale Go! Framskärm monteringssats",
"price": "119.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "41839",
"name": "Electra Townie 7D Fender Hardware Set",
"price": "90.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "44700",
"name": "Electra Townie Path Go! Fork/Fender Shim",
"price": "60.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}