if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37934",
"name": "Electra Attitude Go! 26" x 3.0" Tire",
"price": "58.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45133",
"name": "Electra Ponto Go! 20" Tire",
"price": "57.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12722",
"name": "Electra Cruiser Vintage Diamond Tire",
"price": "47.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12716",
"name": "Electra Cruiser Fatti-O Tire",
"price": "45.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34514",
"name": "Electra Balloon Cruiser Tire",
"price": "39.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34706",
"name": "Electra Strat-O-Balloon 24" Cruiser Tire",
"price": "33.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12721",
"name": "Electra Strat-O-Balloon Cruiser Tire",
"price": "32.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12720",
"name": "Electra Retrorunner Cruiser Tire",
"price": "27.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "12719",
"name": "Electra Knobby Cruiser Tire",
"price": "27.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "21678",
"name": "Electra Lux Fat Tires",
"price": "109.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}