if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "44795",
"name": "Trek CHRGtime Charging Station",
"price": "124.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34870",
"name": "Being Gary Fisher and the Bicycle Revolution Autobiography",
"price": "39.99",
"brand": "Trek",
"category": "Cycling gifts & fun stuff",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34529",
"name": "Trek Presidential Playbook 2020 by John Burke",
"price": "10.0",
"brand": "Trek",
"category": "Cycling gifts & fun stuff",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23143",
"name": "Skratch Labs Recovery Sport Drink Mix 12-Serving Bag",
"price": "33.95",
"brand": "Skratch Labs",
"category": "Cycling nutrition",
"variant": "",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23635",
"name": "Park Tool Pizza Tool",
"price": "21.95",
"brand": "Park Tool",
"category": "Cycling gifts & fun stuff",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14564",
"name": "Electra Sticker Pack",
"price": "9.99",
"brand": "Electra",
"category": "Cycling gifts & fun stuff",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23636",
"name": "Park Tool Stainless Steel Spork",
"price": "9.95",
"brand": "Park Tool",
"category": "Cycling gifts & fun stuff",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "02093",
"name": "Park Tool Bottle Opener",
"price": "8.95",
"brand": "Park Tool",
"category": "Cycling gifts & fun stuff",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "23637",
"name": "Park Tool Keychain Bottle Opener",
"price": "7.95",
"brand": "Park Tool",
"category": "Cycling gifts & fun stuff",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}