Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "25000",
"name": "Bontrager XXX Road Cycling Shoe",
"price": "3009.3",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "14896",
"name": "Bontrager Velocis Mips landeveishjelm",
"price": "1759.2",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44123",
"name": "Santini Trek-Segafredo Men's Team Replica Bib Short",
"price": "779.4",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "22476",
"name": "Bontrager inForm BioDynamic innleggssåler for høy fotbue",
"price": "230.3",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "More Options",
"position": 4
}
,
{
"id": "13040",
"name": "Bontrager inForm BioDynamic såler for lav fotbue",
"price": "230.3",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}