Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "37965",
"name": "Bontrager NCS 35mm Fender Alloy Mud Flap",
"price": "109.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37967",
"name": "Bontrager NCS 55mm Fender Alloy Mud Flap",
"price": "109.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37966",
"name": "Bontrager NCS 45mm Fender Alloy Mud Flap",
"price": "109.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "13042",
"name": "Diamant Fender Head",
"price": "109.0",
"brand": "Diamant",
"category": "Bike fenders & accessories",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "31068",
"name": "Eurofender Scatto Spoiler",
"price": "90.0",
"brand": "Eurofender S.r.l.",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32446",
"name": "Trek Allant+/Diamant Zouma+ 2020 E-bike Fender nose",
"price": "75.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32447",
"name": "Trek Allant+/Diamant Zouma+ E-bike Rear Fender Wire Cover",
"price": "75.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32448",
"name": "Trek Allant+/Diamant Zouma+ E-bike Front Fender Wire Cover",
"price": "55.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35157",
"name": "Trek-Diamant SKS Rear Fender Slot Cover",
"price": "55.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "36964",
"name": "Electra Townie/Cruiser Go!Bakre skjermplugg",
"price": "45.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}