if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "13534",
"name": "Electra Linear Cup Holder",
"price": "15.93",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47140",
"name": "Trek Elite Recycled Water Bottle Cage",
"price": "19.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45034",
"name": "Trek Voda Ice 28oz Water Bottle",
"price": "17.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37366",
"name": "Trek Voda Ice 20oz Water Bottle",
"price": "14.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44780",
"name": "Trek Voda 34oz Water Bottle",
"price": "11.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46754",
"name": "Trek Voda Bio 21oz Water Bottle",
"price": "10.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_greenvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45036",
"name": "Trek Voda 26oz Water Bottle",
"price": "7.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "blue_white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37382",
"name": "Trek Voda 15oz Water Bottle",
"price": "6.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "blue_orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37375",
"name": "Trek Voda 21oz Water Bottle",
"price": "6.93",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "blue_white",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}