if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "44752",
"name": "Bontrager Vallnord RSL XR TLR MTB Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44486",
"name": "Bontrager Sainte-Anne RSL XR TLR MTB Tyre",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44489",
"name": "Bontrager Gunnison Pro XR TLR MTB Tyre",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44575",
"name": "Bontrager Sainte-Anne Pro XR TLR MTB Tyre",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34496",
"name": "Bontrager XR5 Team Issue TLR MTB Tyre",
"price": "50.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13585",
"name": "Bontrager XR4 Team Issue TLR MTB Tyre",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34495",
"name": "Bontrager XR1 Team Issue TLR MTB Tyre",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}