Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "23383",
"name": "Bontrager Bike Wash",
"price": "19.54",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "23386",
"name": "Bontrager Grease",
"price": "22.94",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23382",
"name": "Bontrager Degreaser",
"price": "27.19",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "32120",
"name": "Tektro Hydraulic Brake Fluid",
"price": "15.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "26798",
"name": "Bontrager Grease Gun",
"price": "78.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "23384",
"name": "Bontrager Bike Polish",
"price": "18.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "23385",
"name": "Bontrager Assembly Lube",
"price": "18.69",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32461",
"name": "Trek Supercaliber Strut Service Lubricant 10 Weight",
"price": "43.99",
"brand": "Maxima",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "49365",
"name": "squirt Chain Lube",
"price": "13.99",
"brand": "Squirt",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "49366",
"name": "Rock "N" Roll Gold Chain Lube",
"price": "11.99",
"brand": "Rock '"'N'"' Roll Lubrication",
"category": "Bike tools & maintenance",
"variant": "gold",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}