Overview
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": "More Options",
"position": 1
}
,
{
"id": "22618",
"name": "Lizard Skins Large Frame Protector",
"price": "26.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "45501",
"name": "Lizard Skins Frame Protector Large Clear",
"price": "16.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "30811",
"name": "Lizard Skins Large Neoprene Chainstay Protector",
"price": "12.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "29338",
"name": "Lizard Skins Small Neoprene Chainstay Protector",
"price": "10.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "45500",
"name": "Lizard Skins Frame Protector Small Clear",
"price": "9.99",
"brand": "Lizard Skins",
"category": "Bike frame protection",
"variant": "white",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}