if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "25481",
"name": "Electra Hand-Stitched Short Grip Set",
"price": "69.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "29402",
"name": "Electra Townie Kraton Ergo Long Grip Set",
"price": "44.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12645",
"name": "Electra Heartchya Hand-Stitched Grip Set",
"price": "38.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "29403",
"name": "Electra Townie Kraton Ergo Long & Short Grip Set",
"price": "9.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12641",
"name": "Electra Hand-Stitched Long Grip Set",
"price": "9.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25480",
"name": "Electra Ergo Short/Long Grip Set",
"price": "9.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}