Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37593",
"name": "Electra Townie Go! 7D & Cruiser Go! Fender Hardware Kit",
"price": "11.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "32653",
"name": "Electra Vale Go! Front Fender Hardware",
"price": "8.5",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "41839",
"name": "Electra Townie 7D Fender Hardware Set",
"price": "7.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "44700",
"name": "Electra Townie Path Go! Fork/Fender Shim",
"price": "6.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45070",
"name": "Electra Ponto Go! Fender Spacer",
"price": "2.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "45063",
"name": "Electra Ponto Go! Rear Fender Cable Grommet",
"price": "2.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "44392",
"name": "Electra Curved Plastic Fender Washer",
"price": "",
"brand": "Bontrager-Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}