Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45367",
"name": "Trek Trails Unisex T-Shirt",
"price": "24.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "green",
"list": "More Options",
"position": 1
}
,
{
"id": "45368",
"name": "Trek Mosaic Unisex T-Shirt",
"price": "24.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "47325",
"name": "Rapha Cotton Tee",
"price": "48.0",
"brand": "Rapha",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "33802",
"name": "Trek Bicycle Co Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "36288",
"name": "Trek Original Unisex T-shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "40637",
"name": "Trek Fade Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "More Options",
"position": 6
}
,
{
"id": "41976",
"name": "Trek Bicycle Tonal Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tan",
"list": "More Options",
"position": 7
}
,
{
"id": "37326",
"name": "Trek Feel Good Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "More Options",
"position": 8
}
,
{
"id": "37324",
"name": "Trek Ride Club Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37329",
"name": "Trek Bike People Women's T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 10
}
,
{
"id": "36292",
"name": "Trek Vintage Logo Women's T-shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 11
}
,
{
"id": "40638",
"name": "Trek Fade Women's T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "More Options",
"position": 12
}
,
{
"id": "37333",
"name": "Trek Bee Youth T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "grey",
"list": "More Options",
"position": 13
}
,
{
"id": "37323",
"name": "Trek Good Ride Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "41975",
"name": "Trek RBHFFG Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "reddark",
"list": "More Options",
"position": 15
}
,
{
"id": "40636",
"name": "Trek Radventure Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "brown",
"list": "More Options",
"position": 16
}
,
{
"id": "36291",
"name": "Trek Original Women's T-shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 17
}
,
{
"id": "37327",
"name": "Trek Bike People Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "More Options",
"position": 18
}
,
{
"id": "40640",
"name": "Trek Lake Dreams Unisex T-Shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "36758",
"name": "Electra Men's Classic Check T-Shirt",
"price": "25.99",
"brand": "Electra",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "41889",
"name": "Electra Neon Women's T-Shirt",
"price": "25.99",
"brand": "Electra",
"category": "T-Shirts",
"variant": "white",
"list": "More Options",
"position": 21
}
,
{
"id": "41890",
"name": "Electra EBC Speed T-Shirt",
"price": "25.99",
"brand": "Electra",
"category": "T-Shirts",
"variant": "tan",
"list": "More Options",
"position": 22
}
,
{
"id": "36290",
"name": "Trek Vintage Logo Long Sleeve Unisex T-shirt",
"price": "14.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}