Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "46749",
"name": "Bontrager High Flow Valve Adapter Set",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44292",
"name": "Bontrager Tapered Base TLR Valve Stem",
"price": "33.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "13521",
"name": "Bontrager Rectangular Base TLR Valve Stem",
"price": "25.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "27395",
"name": "Bontrager Round Base TLR Valve Stem",
"price": "18.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}