if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41211",
"name": "Bontrager Connection 700c 32 Hole Rim",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "09909",
"name": "Bontrager Wheelsystem Replacement Aeolus XXX 2 Decals",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30999",
"name": "Bontrager Wheelsystem Replacement Aeolus XXX 6 Decals",
"price": "400.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44218",
"name": "Trek Fetch+ Rim",
"price": "400.0",
"brand": "Trek",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31426",
"name": "Bontrager TLR Rim Strip",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14221",
"name": "Bontrager TLR Rim Tape",
"price": "300.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14944",
"name": "Sun Ringle Duroc 50 Rims",
"price": "2300.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14867",
"name": "Sun Ringle STR Tubeless Rim Tape",
"price": "300.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14869",
"name": "Sun Ringle Mulefut Rim Strip",
"price": "100.0",
"brand": "Sun Ringle",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40481",
"name": "Trek-Diamant Presta Rim Strip",
"price": "100.0",
"brand": "Trek-Diamant",
"category": "Bike rims & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}