if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36295",
"name": "Trek Original Crewneck Sweatshirt",
"price": "29.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32586",
"name": "Trek All-District Sweatshirt",
"price": "29.93",
"brand": "Trek",
"category": "Casual cycling wear",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "29.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "29.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41969",
"name": "Trek Department of Fun Unisex Hoodie",
"price": "29.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36293",
"name": "Trek Vintage Logo Unisex Hoodie",
"price": "29.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45369",
"name": "Trek Bicycle Unisex Long Sleeve Henley",
"price": "20.93",
"brand": "Trek",
"category": "Men's t-shirts & casual",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40149",
"name": "Santini Trek-Segafredo Women's Team T-Shirt",
"price": "14.93",
"brand": "Santini",
"category": "T-Shirts",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "22797",
"name": "Bontrager Evoke Women's Mountain Bike Tech Tee",
"price": "9.93",
"brand": "Bontrager",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30281",
"name": "Electra Ladies' Union T-Shirt",
"price": "4.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "30277",
"name": "Electra Ladies' 1993 T-Shirt",
"price": "4.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "greendark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41889",
"name": "Electra Neon Women's T-Shirt",
"price": "4.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "white",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40610",
"name": "Electra Ride Free Sweatshirt",
"price": "25.93",
"brand": "Electra",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}