if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "12300",
"name": "Bontrager R4 320 Handmade Clincher Road Tire",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25926",
"name": "Bontrager R3 Hard-Case Lite TLR Road Tire",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36071",
"name": "Bontrager AW3 Hard-Case Lite Reflective Road Tire",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27590",
"name": "Bontrager R3 Hard-Case Lite Road Tire",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32163",
"name": "Bontrager AW3 Hard-Case Road Tire",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32162",
"name": "Bontrager AW3 Hard-Case Lite Road Tire",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "11024",
"name": "Bontrager AW1 Hard-Case Road Tire",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "27392",
"name": "Bontrager R2 Hard-Case Lite Road Tire",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "08646",
"name": "Bontrager R1 Road Tire",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "10959",
"name": "Bontrager AW1 Hard-Case Lite Road Tire",
"price": "27.49",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}