Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "31553",
"name": "Bontrager H2 Hard-Case Lite Ultimate Reflective Hybrid Tire",
"price": "429.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-bike Tire",
"price": "429.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "31550",
"name": "Bontrager LT4 Expert Reflective E-bike Tire",
"price": "399.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 3
}
,
{
"id": "31552",
"name": "Bontrager H2 Hard-Case Lite Reflective Hybrid Tire",
"price": "319.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 4
}
,
{
"id": "12712",
"name": "Electra Amsterdam Hybrid 700c dekk",
"price": "209.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 5
}
,
{
"id": "13072",
"name": "Electra Loft 700c dekk",
"price": "209.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "brown_white",
"list": "More Options",
"position": 6
}
,
{
"id": "12714",
"name": "Electra Townie originalt dekk",
"price": "164.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}