if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "13534",
"name": "Electra Linear Cup Holder",
"price": "17.93",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36760",
"name": "Electra Wired Can Holder & Ziggy Koozie",
"price": "15.93",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36761",
"name": "Electra Wired Can Holder & Tiki Koozie",
"price": "15.93",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12624",
"name": "Electra Water Bottle Cage Adapter",
"price": "9.99",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33937",
"name": "Electra Water Bottle Cage",
"price": "9.99",
"brand": "Electra",
"category": "Bike water bottles & cages",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}