if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "14963",
"name": "Bontrager Circuit Cycling Bib Short",
"price": "31.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13022",
"name": "Bontrager Circuit Cycling Shorts",
"price": "23.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14962",
"name": "Bontrager Circuit Cycling Jersey",
"price": "11.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "104.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24721",
"name": "Bontrager Circuit Windshell Cycling Gloves",
"price": "36.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24724",
"name": "Bontrager Circuit Women's Windshell Cycling Glove",
"price": "36.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}