if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "26371",
"name": "Electra Townie Original 3i EQ 26" Forks",
"price": "79.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37581",
"name": "Electra Bali Cruiser Go! Fork",
"price": "74.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37579",
"name": "Electra Cruiser Go! Step-Thru Fork",
"price": "74.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37580",
"name": "Electra Shibori Cruiser Go! Fork",
"price": "74.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37578",
"name": "Electra Cruiser Go! Step-Over Fork",
"price": "74.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31056",
"name": "Fox Racing Shox Remote Fork & Shock Lever",
"price": "69.99",
"brand": "Fox",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25649",
"name": "Electra Sprocket 20in. Forks",
"price": "51.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "orangelight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25648",
"name": "Electra Sprocket 16in. Forks",
"price": "51.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36439",
"name": "Trek-Diamant Thru-Skew Fixed Retention Nut",
"price": "13.99",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33600",
"name": "Trek Allant+ & Diamant Zouma+ 2020 Rigid Fork Crown Washer",
"price": "5.5",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}