Overblik
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "37934",
"name": "Electra Attitude Go! 26" x 3.0" Tire",
"price": "299.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12722",
"name": "Electra Cruiser Vintage 26" Diamond-dæk",
"price": "229.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "34514",
"name": "Electra Balloon Cruiser-dæk",
"price": "215.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "12719",
"name": "Electra Cruiser-knopdæk",
"price": "169.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34706",
"name": "Electra Strat-O-Balloon 24" Cruiser-dæk",
"price": "169.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 5
}
,
{
"id": "12716",
"name": "Electra Cruiser Fatti-O 24" dæk",
"price": "149.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "12720",
"name": "Electra Retrorunner Cruiser-dæk",
"price": "149.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}