Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "44292",
"name": "Bontrager Tapered Base TLR Valve Stem",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "27395",
"name": "Bontrager Round Base TLR Valve Stem",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "More Options",
"position": 2
}
,
{
"id": "13521",
"name": "Bontrager Rectangular Base TLR Valve Stem",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "14868",
"name": "Sun Ringle STR Tubeless Presta Valves",
"price": "200.0",
"brand": "Sun Ringle",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}