Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "33380",
"name": "Trek Domane+ Front Bike Light Assembly",
"price": "395.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33675",
"name": "Trek Domane+ Rear Bike Light Assembly",
"price": "181.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23634",
"name": "Bontrager Transmitr MicroRemote",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25371",
"name": "Bontrager USB Fast Charge Cable",
"price": "11.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "37981",
"name": "Bontrager Lights USB Type-C Charge Cable",
"price": "11.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "29079",
"name": "Supernova M99 to Bontrager Elite Light Faceplate Bolt",
"price": "8.99",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "greylight",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}