Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "40276",
"name": "Electra Classic Faux Leather Ergo Grip Set",
"price": "33.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "29403",
"name": "Electra Townie Kraton Ergo Long & Short Grip Set",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25481",
"name": "Electra Hand-Stitched Short Grip Set",
"price": "26.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 3
}
,
{
"id": "29402",
"name": "Electra Townie Kraton Ergo Long Grip Set",
"price": "25.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45075",
"name": "Electra Bali Foam Grips",
"price": "21.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black_greendark",
"list": "More Options",
"position": 5
}
,
{
"id": "35713",
"name": "Electra Retro Stripe Rubber Grips",
"price": "17.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "45076",
"name": "Electra Shibori Foam Grips",
"price": "17.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black_bluedark",
"list": "More Options",
"position": 7
}
,
{
"id": "35710",
"name": "Electra Gnome Rubber Grips",
"price": "17.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35712",
"name": "Electra Miami Rubber Grips",
"price": "17.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "More Options",
"position": 9
}
,
{
"id": "35711",
"name": "Electra Ziggy Rubber Grips",
"price": "17.93",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "More Options",
"position": 10
}
,
{
"id": "33377",
"name": "Electra Comfort Grip Set",
"price": "9.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}