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": "CATEGORY",
"position": 1
}
,
{
"id": "40518",
"name": "Verve+ 1 Lowstep LT",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36841",
"name": "Verve+ 4S Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35140",
"name": "Verve+ 4 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36840",
"name": "Verve+ 4S",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32899",
"name": "Verve+ 3 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32900",
"name": "Verve+ 3 Lowstep Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35148",
"name": "Verve+ 4",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}