if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "37319",
"name": "Trek Script Crewneck Sweatshirt",
"price": "51.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36295",
"name": "Trek Original Crewneck Sweatshirt",
"price": "51.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32586",
"name": "Trek All-District Sweatshirt",
"price": "41.99",
"brand": "Trek",
"category": "Casual cycling wear",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40152",
"name": "Santini Trek-Segafredo Men's Team Polo",
"price": "36.99",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41974",
"name": "Trek Bicycle Tonal Long Sleeve Unisex T-Shirt",
"price": "27.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41981",
"name": "Trek Sunset Script Beanie",
"price": "24.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40642",
"name": "Trek Bicycle Co 5 Panel Hat",
"price": "24.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40149",
"name": "Santini Trek-Segafredo Women's Team T-Shirt",
"price": "21.99",
"brand": "Santini",
"category": "T-Shirts",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40146",
"name": "Santini Trek-Segafredo Men's Team T-Shirt",
"price": "21.99",
"brand": "Santini",
"category": "T-Shirts",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41980",
"name": "Trek Oh Deer Beanie",
"price": "19.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41983",
"name": "Trek Label Fisherman Beanie",
"price": "19.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "22797",
"name": "Bontrager Evoke Women's Mountain Bike Tech Tee",
"price": "17.99",
"brand": "Bontrager",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35007",
"name": "Santini Trek-Segafredo Men's Team T-Shirt",
"price": "9.99",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "45019",
"name": "100% Trek Factory Racing Hoodie",
"price": "79.99",
"brand": "100%",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "45021",
"name": "100% Trek Factory Racing 5-Panel Hat",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "45020",
"name": "100% Trek Factory Racing Trucker Hat",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "45022",
"name": "100% Trek Factory Racing Pom Beanie",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "45023",
"name": "100% Trek Factory Racing Cuff Beanie",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}