Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "40667",
"name": "Verve+ 3 Lowstep Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 1
}
,
{
"id": "40518",
"name": "Verve+ 1 Lowstep LT",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "36841",
"name": "Verve+ 4S Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "yellow",
"list": "More Options",
"position": 3
}
,
{
"id": "35140",
"name": "Verve+ 4 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "More Options",
"position": 4
}
,
{
"id": "36840",
"name": "Verve+ 4S",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "32899",
"name": "Verve+ 3 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "35148",
"name": "Verve+ 4",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}