if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44687",
"name": "Electra Loft Go! 7D Fender Hardware Kit",
"price": "16.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37593",
"name": "Electra Townie Go! 7D & Cruiser Go! Fender Hardware Kit",
"price": "15.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32653",
"name": "Electra Vale Go! Front Fender Hardware",
"price": "10.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41839",
"name": "Electra Townie 7D Fender Hardware Set",
"price": "9.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44700",
"name": "Electra Townie Path Go! Fork/Fender Shim",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45070",
"name": "Electra Ponto Go! Fender Spacer",
"price": "3.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45063",
"name": "Electra Ponto Go! Rear Fender Cable Grommet",
"price": "3.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}