if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "32600",
"name": "Electra Townie Original 7D Ladies' 26˝ Fork",
"price": "54.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34901",
"name": "Townie Commute Go! 5i Step-Thru",
"price": "2600.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "25530",
"name": "Electra Loft 7i Ladies' 700c Mudguard Set",
"price": "49.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "26685",
"name": "Electra Loft-7i Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "36376",
"name": "Unior Suspension Bench Drawer - 2 Tool Tray Set",
"price": "249.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "23838",
"name": "Electra Cruiser 1 26˝ Ladies' Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "25525",
"name": "Electra Loft 7D Men's 700c Mudguard Set",
"price": "49.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "14743",
"name": "Electra Townie GO! 8i Mudguard Set",
"price": "49.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "grey_greylight",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "00977",
"name": "Bontrager Hollow 6 mm Water Bottle Cage",
"price": "5.99",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "26684",
"name": "Electra Loft-7D Chainguard",
"price": "24.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "79363",
"name": "Rapha Gore-Tex Windstopper Thermal Hat",
"price": "45.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black_greylight",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "23840",
"name": "Electra Cruiser 1 Men's Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "25595",
"name": "Electra Townie Original 7D EQ Ladies' Fender Set",
"price": "34.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "33877",
"name": "Bontrager Approved TK-32 11-Speed Freehub Body",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "10382",
"name": "VP Components A76CG 1-1/8˝ Headset",
"price": "13.99",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}