if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "27278",
"name": "Continental Mountain King ShieldWall MTB Tire",
"price": "49.95",
"brand": "Continental Tire",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27280",
"name": "Continental Trail King ShieldWall MTB Tire",
"price": "49.95",
"brand": "Continental Tire",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13271",
"name": "Bontrager Gnarwhal Fat Bike Tire",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12996",
"name": "Bontrager Barbegazi Fat Bike Tire",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22118",
"name": "Schwalbe Super Moto-X GreenGuard 27.5" MTB Tire",
"price": "52.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44749",
"name": "Schwalbe Pick-Up Tire",
"price": "52.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12713",
"name": "Schwalbe Fat Frank Cruiser Tire",
"price": "38.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}