Översikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "31550",
"name": "Bontrager LT4 Expert Reflective elcykeldäck",
"price": "399.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "21678",
"name": "Electra Lux fatbike 26 tum däck",
"price": "589.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37934",
"name": "Electra Attitude Go! 26" x 3.0" Tire",
"price": "419.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "12722",
"name": "Electra Cruiser Vintage 26 tum Diamond däck",
"price": "319.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "12720",
"name": "Electra Retrorunner Cruiser däck",
"price": "314.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 5
}
,
{
"id": "34514",
"name": "Electra Balloon Cruiser däck",
"price": "279.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "34706",
"name": "Electra Strata-O-Balloon 24 tum Cruiser däck",
"price": "229.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 7
}
,
{
"id": "12719",
"name": "Electra Knobby Cruiser däck",
"price": "229.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}