if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45423",
"name": "Lizard Skins Protective Frame Wrap Kit",
"price": "44.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22618",
"name": "Lizard Skins Large Frame Protector",
"price": "26.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45501",
"name": "Lizard Skins Frame Protector Large Clear",
"price": "16.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30811",
"name": "Lizard Skins Large Neoprene Chainstay Protector",
"price": "12.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30809",
"name": "Lizard Skins Medium Neoprene Chainstay Protector",
"price": "11.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29338",
"name": "Lizard Skins Small Neoprene Chainstay Protector",
"price": "10.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45500",
"name": "Lizard Skins Frame Protector Small Clear",
"price": "9.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}