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