if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "44588",
"name": "Bontrager Brevard RSL SE TLR MTB Tire",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44791",
"name": "Bontrager Galbraith RSL SE TLR MTB Tire",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34494",
"name": "Bontrager SE6 Team Issue TLR MTB Tire",
"price": "55.93",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34493",
"name": "Bontrager SE5 Team Issue TLR MTB Tire",
"price": "55.93",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13586",
"name": "Bontrager SE4 Team Issue TLR MTB Tire",
"price": "41.93",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46169",
"name": "Pirelli Scorpion Enduro S ProWALL MTB Tire",
"price": "89.9",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "38364",
"name": "Pirelli Scorpion Enduro R MTB Tire",
"price": "89.9",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}