if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "44545",
"name": "Sinter Endurance Compound Disc Brake Pads",
"price": "27.49",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44543",
"name": "Sinter Performance Compound Disc Brake Pads",
"price": "27.49",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44544",
"name": "Sinter Race Compound Disc Brake Pads",
"price": "27.49",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44542",
"name": "Sinter Standard Compound Disc Brake Pads",
"price": "12.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}