if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "40496",
"name": "Verve 1 Equipped",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40497",
"name": "Verve 1 Equipped Lowstep",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47270",
"name": "Verve 3 Equipped",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47271",
"name": "Verve 3 Equipped Lowstep",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40499",
"name": "Verve 2 Equipped Lowstep",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40498",
"name": "Verve 2 Equipped",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36999",
"name": "Verve 1 Equipped",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33418",
"name": "District 4 Equipped",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33419",
"name": "District 4 Equipped Stagger",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "28899",
"name": "FX 3 Equipped Stagger",
"price": "",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37000",
"name": "Verve 1 Equipped Lowstep",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}