if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "81635",
"name": "Rapha Women's Trail Tech Long Sleeve MTB T-Shirt",
"price": "110.0",
"brand": "Rapha",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47329",
"name": "Rapha Women's Cotton Hoodie",
"price": "80.93",
"brand": "Rapha",
"category": "Casual sweatshirts & hoodies",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "63465",
"name": "Fox Racing 25 Wordmark Hoodie",
"price": "74.93",
"brand": "Fox Racing",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "81637",
"name": "Rapha Women's USA Cycling Shirt",
"price": "70.0",
"brand": "Rapha",
"category": "T-Shirts",
"variant": "white_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "81634",
"name": "Rapha Women's Trail Tech MTB T-Shirt",
"price": "51.93",
"brand": "Rapha",
"category": "T-Shirts",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47326",
"name": "Rapha Women's Cotton Tee",
"price": "41.93",
"brand": "Rapha",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "63451",
"name": "Fox Racing 25 Wordmark Beanie",
"price": "25.93",
"brand": "Fox Racing",
"category": "Casual caps & hats",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "63452",
"name": "Fox Racing 25 Vision Cap",
"price": "44.95",
"brand": "Fox Racing",
"category": "Casual caps & hats",
"variant": "brown",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}