Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "47331",
"name": "Rapha Trail 6 Panel Cap",
"price": "28.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "36291",
"name": "Trek Original Women's T-shirt",
"price": "24.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck Unisex Sweatshirt",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "41969",
"name": "Trek Department of Fun Unisex Hoodie",
"price": "55.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "37316",
"name": "Trek 80s Fade Hoodie",
"price": "36.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 6
}
,
{
"id": "40642",
"name": "Trek Bicycle Co 5 Panel Hat",
"price": "24.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "bluedark",
"list": "More Options",
"position": 7
}
,
{
"id": "41981",
"name": "Trek Sunset Script Beanie",
"price": "24.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "bluedark",
"list": "More Options",
"position": 8
}
,
{
"id": "41983",
"name": "Trek Label Fisherman Beanie",
"price": "24.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "tan",
"list": "More Options",
"position": 9
}
,
{
"id": "45019",
"name": "100% Trek Factory Racing Hoodie",
"price": "79.99",
"brand": "100%",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "45022",
"name": "100% Trek Factory Racing Pom Beanie",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "45021",
"name": "100% Trek Factory Racing 5-Panel Hat",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "45020",
"name": "100% Trek Factory Racing Trucker Hat",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}