if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "32746",
"name": "Trek Solstice Cycling Shorts",
"price": "39.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "36028",
"name": "Trek Solstice Bike Helmet",
"price": "36.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "29.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34659",
"name": "Trek Solstice Cycling Bib Shorts",
"price": "59.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "36025",
"name": "Trek Solstice Mips Bike Helmet",
"price": "54.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "32747",
"name": "Trek Solstice Women's Cycling Shorts",
"price": "39.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "32748",
"name": "Trek Solstice Youth Cycling Shorts",
"price": "29.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "34654",
"name": "Trek Solstice Women's Cycling Jersey",
"price": "29.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "37364",
"name": "Trek Solstice Youth Cycling Jersey",
"price": "24.99",
"brand": "Trek",
"category": "Kids' bike accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "44094",
"name": "Trek Solstice Bike Helmet Visor",
"price": "5.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "34655",
"name": "Trek Solstice Women's Cycling Bib Shorts",
"price": "59.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "37099",
"name": "Trek Solstice Gel Unisex Cycling Glove",
"price": "24.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "44098",
"name": "Trek Solstice Youth Bike Helmet Visor",
"price": "5.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "44099",
"name": "Trek Solstice Children's Bike Helmet Visor",
"price": "3.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "44095",
"name": "Trek Solstice Bike Helmet Fit Pad",
"price": "3.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "44097",
"name": "Trek Solstice Children's and Youth Bike Helmet Fit Pad",
"price": "3.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}