if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "38003",
"name": "Trek 2022 Speed Concept SLR Bento Box Bucket",
"price": "16.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38387",
"name": "Trek 2022 Speed Concept SLR Bento Box Divider",
"price": "5.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "31.99",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25932",
"name": "Bontrager Basic Handlebar Bag Hardware Kit",
"price": "7.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}