Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37815",
"name": "Electra Touch-up Paint - Gloss Grey Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 1
}
,
{
"id": "37821",
"name": "Electra Touch-up Paint - Gloss Teal Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 2
}
,
{
"id": "37832",
"name": "Electra Touch-up Paint - Matte Purple Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 3
}
,
{
"id": "37811",
"name": "Electra Touch-up Paint - Gloss Blue Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 4
}
,
{
"id": "37845",
"name": "Trek Touch-up Paint - Gloss Pink Color Collection",
"price": "17.49",
"brand": "Trek-Diamant",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 5
}
,
{
"id": "37825",
"name": "Electra Touch-up Paint - Matte Blue Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 6
}
,
{
"id": "37851",
"name": "Trek Touch-up Paint - Gloss Yellow Color Collection",
"price": "17.49",
"brand": "Trek-Diamant",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 7
}
,
{
"id": "40711",
"name": "Trek Touch-up Paint - Satin Orange Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 8
}
,
{
"id": "37823",
"name": "Electra Touch-up Paint - Gloss Yellow Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 9
}
,
{
"id": "37820",
"name": "Electra Touch-up Paint - Gloss Tan Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 10
}
,
{
"id": "37817",
"name": "Electra Touch-up Paint - Gloss Pink Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 11
}
,
{
"id": "45165",
"name": "Electra Touch-up Paint - Gloss Red Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 12
}
,
{
"id": "37812",
"name": "Electra Touch-up Paint - Gloss Bronze Color Collection",
"price": "17.49",
"brand": "Electra",
"category": "Touch-up paint",
"variant": "",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}