Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "40888",
"name": "Electra MIK Rear Rack",
"price": "129.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "14527",
"name": "Electra Surf Short Board Rack",
"price": "229.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "22214",
"name": "Electra Townie Commute Rear Rack",
"price": "216.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "black_greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "23072",
"name": "Electra Loft GO! 700c Rear Rack",
"price": "149.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "23041",
"name": "Electra Townie Alloy Rear Rack",
"price": "104.99",
"brand": "Electra",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32728",
"name": "Bontrager-Electra MIK Bike Bag Adapter Plate",
"price": "39.99",
"brand": "Bontrager-Electra",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32852",
"name": "Bontrager-Electra MIK Bike Rack Carrier Plate",
"price": "39.99",
"brand": "Bontrager-Electra",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}