Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "35061",
"name": "Bontrager TLR Rim Tape",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "31426",
"name": "Bontrager TLR Rim Strip",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "14221",
"name": "Bontrager TLR Rim Tape",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14867",
"name": "Sun Ringle STR Tubeless Rim Tape",
"price": "300.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "14869",
"name": "Sun Ringle Mulefut Rim Strip",
"price": "100.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}