if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "35599",
"name": "Cruiser 7D Step-Thru",
"price": "499.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "orangelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24425",
"name": "Cruiser 7D Step-Over",
"price": "449.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "bronze",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24430",
"name": "Cruiser 7D Step-Thru",
"price": "449.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "bronze",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35656",
"name": "Cruiser 1 Step-Over",
"price": "399.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35598",
"name": "Cruiser 7D Step-Over",
"price": "399.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24423",
"name": "Cruiser 1 Step-Over",
"price": "399.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35657",
"name": "Cruiser 1 Step-Thru",
"price": "249.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24429",
"name": "Cruiser 1 Step-Thru",
"price": "249.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}