Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "23110",
"name": "Bontrager Gel Cork Handlebar Tape",
"price": "450.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "37298",
"name": "Bontrager Perf Line Handlebar Tape Set",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "bluelight_black",
"list": "More Options",
"position": 2
}
,
{
"id": "37297",
"name": "Bontrager Supertack Handlebar Tape Set",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "28485",
"name": "Bontrager Perf Line Bar Tape",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}