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