Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "45430",
"name": "Electra Townie Go! 7D 26" 35mm Wide Rim",
"price": "39.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37978",
"name": "Electra Cruiser Go! 26" Rim",
"price": "34.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "45148",
"name": "Electra Loft Go! 7D 36H 700c Rim",
"price": "29.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "45422",
"name": "Electra Ponto Go! 20" Rim",
"price": "24.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "29220",
"name": "Electra Café Moto Go! 26" velg",
"price": "22.49",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}