if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "28080",
"name": "Townie 7D Step-Thru",
"price": "499.99",
"brand": "Electra",
"category": "Townie",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35277",
"name": "Townie Go! 7D Step-Thru",
"price": "1999.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28079",
"name": "Townie 7D Step-Over",
"price": "499.99",
"brand": "Electra",
"category": "Townie",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "399.99",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "16717",
"name": "Loft 7D Step-Over",
"price": "399.99",
"brand": "Electra",
"category": "Loft",
"variant": "brown_green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35599",
"name": "Cruiser 7D Step-Thru",
"price": "399.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "orangelight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35598",
"name": "Cruiser 7D Step-Over",
"price": "399.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35657",
"name": "Cruiser 1 Step-Thru",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35656",
"name": "Cruiser 1 Step-Over",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "24425",
"name": "Cruiser 7D Step-Over",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "bronze",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "24429",
"name": "Cruiser 1 Step-Thru",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "24430",
"name": "Cruiser 7D Step-Thru",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "bronze",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "24423",
"name": "Cruiser 1 Step-Over",
"price": "299.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}