Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "26949",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "reddark",
"list": "More Options",
"position": 1
}
,
{
"id": "29099",
"name": "Townie Path Go! 5i Step-Thru",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "33004",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greenlight",
"list": "More Options",
"position": 3
}
,
{
"id": "26950",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "35274",
"name": "Townie Go! 7D EQ Step-Over",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 5
}
,
{
"id": "33003",
"name": "Townie Go! 5i EQ Step-Over",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black_brown",
"list": "More Options",
"position": 6
}
,
{
"id": "34901",
"name": "Townie Commute Go! 5i EQ Step-Thru",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "More Options",
"position": 7
}
,
{
"id": "34900",
"name": "Townie Commute Go! 5i EQ Step-Over",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "33006",
"name": "Townie Go! 5i Step-Thru",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35275",
"name": "Townie Go! 7D EQ Step-Thru",
"price": "",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}