Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "47225",
"name": "Trek BITS Tool Bag",
"price": "49.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "47226",
"name": "Trek BITS Tube Bag",
"price": "39.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "25.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "179.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "129.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "21794",
"name": "Bontrager Pro Flat Pack",
"price": "84.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "26634",
"name": "Bontrager BITS Internal Frame Storage Bag",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "31819",
"name": "Bontrager Pro Pocket Case",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "22453",
"name": "Bontrager 18oz Storage Bottle",
"price": "17.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black_white",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}